Skip to content

Commit

Permalink
fix: samples (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtscalac committed Sep 25, 2024
1 parent 8981f16 commit c1bbf1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Transaction _buildUnsignedTx({
final txOutput = TransactionOutput(
address: preprodFaucetAddress,
amount: const Value(coin: Coin(1000000)),
amount: const Balance(coin: Coin(1000000)),
);
final txBuilder = TransactionBuilder(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,20 @@ void main() {
'addr_test1qpu5vlrf4xkxv2qpwngf6cjhtw542ayty80v8dyr49rf5ewvxwdrt70'
'qlcpeeagscasafhffqsxy36t90ldv06wqrk2qum8x5w',
),
amount: const Value(coin: Coin(10162333)),
amount: const Balance(coin: Coin(10162333)),
),
);
final txOutput = TransactionOutput(
address: ShelleyAddress.fromBech32(
'addr_test1vzpwq95z3xyum8vqndgdd9mdnmafh3djcxnc6jemlgdmswcve6tkw',
),
amount: const Value(coin: Coin(1000000)),
amount: const Balance(coin: Coin(1000000)),
);
final txBuilder = TransactionBuilder(
config: txBuilderConfig,
inputs: [utxo],
inputs: {utxo},
// fee can be left empty so that it's auto calculated or can be hardcoded
// fee: const Coin(1000000),
ttl: const SlotBigNum(410021),
Expand Down

0 comments on commit c1bbf1a

Please sign in to comment.