slotFunding static method

TransactionInput slotFunding(
  1. int n
)

A funding input naming an outpoint that exists only in this fixture.

Implementation

static TransactionInput slotFunding(int n) => TransactionInput(hex.encode(List.filled(32, n)), 0, 0xffffffff);