Skip to content

Commit

Permalink
sample code test waits for unlocked balance
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Mar 29, 2024
1 parent 0573c5f commit 4eee970
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/TestSampleCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export default class TestSampleCode {

// send funds from RPC wallet to WebAssembly wallet
await TestUtils.WALLET_TX_TRACKER.waitForWalletTxsToClearPool(walletRpc); // *** REMOVE FROM README SAMPLE ***
await TestUtils.WALLET_TX_TRACKER.waitForUnlockedBalance(walletRpc, 0, undefined, 250000000000n); // *** REMOVE FROM README SAMPLE ***
let createdTx = await walletRpc.createTx({
accountIndex: 0,
address: await walletFull.getAddress(1, 0),
Expand Down

0 comments on commit 4eee970

Please sign in to comment.