@@ -56,7 +56,10 @@ async fn claim_2_basic_micro_outputs() -> Result<(), Box<dyn std::error::Error>>
56
56
let base_coin_amount_before_claiming = balance. base_coin ( ) . available ( ) ;
57
57
58
58
let tx = wallet_0
59
- . claim_outputs ( wallet_0. claimable_outputs ( OutputsToClaim :: MicroTransactions ) . await ?)
59
+ . claim_outputs (
60
+ wallet_0. claimable_outputs ( OutputsToClaim :: MicroTransactions ) . await ?,
61
+ None ,
62
+ )
60
63
. await ?;
61
64
wallet_0
62
65
. wait_for_transaction_acceptance ( & tx. transaction_id , None , None )
@@ -113,7 +116,7 @@ async fn claim_1_of_2_basic_outputs() -> Result<(), Box<dyn std::error::Error>>
113
116
let base_coin_amount_before_claiming = balance. base_coin ( ) . available ( ) ;
114
117
115
118
let tx = wallet_0
116
- . claim_outputs ( wallet_0. claimable_outputs ( OutputsToClaim :: Amount ) . await ?)
119
+ . claim_outputs ( wallet_0. claimable_outputs ( OutputsToClaim :: Amount ) . await ?, None )
117
120
. await ?;
118
121
wallet_0
119
122
. wait_for_transaction_acceptance ( & tx. transaction_id , None , None )
@@ -193,7 +196,7 @@ async fn claim_2_basic_outputs_no_available_in_claim_account() -> Result<(), Box
193
196
let base_coin_amount_before_claiming = balance. base_coin ( ) . available ( ) ;
194
197
195
198
let tx = wallet_1
196
- . claim_outputs ( wallet_1. claimable_outputs ( OutputsToClaim :: All ) . await ?)
199
+ . claim_outputs ( wallet_1. claimable_outputs ( OutputsToClaim :: All ) . await ?, None )
197
200
. await ?;
198
201
wallet_1
199
202
. wait_for_transaction_acceptance ( & tx. transaction_id , None , None )
@@ -281,7 +284,7 @@ async fn claim_2_native_tokens() -> Result<(), Box<dyn std::error::Error>> {
281
284
assert_eq ! ( balance. potentially_locked_outputs( ) . len( ) , 2 ) ;
282
285
283
286
let tx = wallet_0
284
- . claim_outputs ( wallet_0. claimable_outputs ( OutputsToClaim :: NativeTokens ) . await ?)
287
+ . claim_outputs ( wallet_0. claimable_outputs ( OutputsToClaim :: NativeTokens ) . await ?, None )
285
288
. await ?;
286
289
wallet_0
287
290
. wait_for_transaction_acceptance ( & tx. transaction_id , None , None )
@@ -404,7 +407,7 @@ async fn claim_2_native_tokens_no_available_balance_in_claim_account() -> Result
404
407
assert_eq ! ( balance. potentially_locked_outputs( ) . len( ) , 2 ) ;
405
408
406
409
let tx = wallet_1
407
- . claim_outputs ( wallet_1. claimable_outputs ( OutputsToClaim :: NativeTokens ) . await ?)
410
+ . claim_outputs ( wallet_1. claimable_outputs ( OutputsToClaim :: NativeTokens ) . await ?, None )
408
411
. await ?;
409
412
wallet_1
410
413
. wait_for_transaction_acceptance ( & tx. transaction_id , None , None )
@@ -470,7 +473,7 @@ async fn claim_2_nft_outputs() -> Result<(), Box<dyn std::error::Error>> {
470
473
assert_eq ! ( balance. potentially_locked_outputs( ) . len( ) , 2 ) ;
471
474
472
475
let tx = wallet_0
473
- . claim_outputs ( wallet_0. claimable_outputs ( OutputsToClaim :: Nfts ) . await ?)
476
+ . claim_outputs ( wallet_0. claimable_outputs ( OutputsToClaim :: Nfts ) . await ?, None )
474
477
. await ?;
475
478
wallet_0
476
479
. wait_for_transaction_acceptance ( & tx. transaction_id , None , None )
@@ -547,7 +550,7 @@ async fn claim_2_nft_outputs_no_available_in_claim_account() -> Result<(), Box<d
547
550
assert_eq ! ( balance. potentially_locked_outputs( ) . len( ) , 2 ) ;
548
551
549
552
let tx = wallet_1
550
- . claim_outputs ( wallet_1. claimable_outputs ( OutputsToClaim :: Nfts ) . await ?)
553
+ . claim_outputs ( wallet_1. claimable_outputs ( OutputsToClaim :: Nfts ) . await ?, None )
551
554
. await ?;
552
555
wallet_1
553
556
. wait_for_transaction_acceptance ( & tx. transaction_id , None , None )
@@ -612,7 +615,10 @@ async fn claim_basic_micro_output_error() -> Result<(), Box<dyn std::error::Erro
612
615
assert_eq ! ( balance. potentially_locked_outputs( ) . len( ) , 1 ) ;
613
616
614
617
let result = wallet_1
615
- . claim_outputs ( wallet_1. claimable_outputs ( OutputsToClaim :: MicroTransactions ) . await ?)
618
+ . claim_outputs (
619
+ wallet_1. claimable_outputs ( OutputsToClaim :: MicroTransactions ) . await ?,
620
+ None ,
621
+ )
616
622
. await ;
617
623
assert ! ( matches!(
618
624
result,
0 commit comments