Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hal3e committed Jan 21, 2025
1 parent 374b4d0 commit 9ae9df1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/cookbook/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ mod tests {
)
.await?;

provider.produce_blocks(100, None).await?;

hot_wallet.set_provider(provider.clone());
cold_wallet.set_provider(provider.clone());
predicate.set_provider(provider.clone());
Expand Down Expand Up @@ -312,9 +314,7 @@ mod tests {
// ANCHOR_END: custom_tx_adjust

// ANCHOR: custom_tx_policies
let tx_policies = TxPolicies::default()
.with_maturity(1)
.with_expiration(1_0000);
let tx_policies = TxPolicies::default().with_maturity(64).with_expiration(128);
let tb = tb.with_tx_policies(tx_policies);
// ANCHOR_END: custom_tx_policies

Expand Down

0 comments on commit 9ae9df1

Please sign in to comment.