Skip to content

Commit

Permalink
Add missing awaits
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Nov 13, 2023
1 parent 18b9163 commit 22907db
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function run() {
);

// Sync wallet to make sure wallet is updated with outputs from previous examples
wallet.sync();
await wallet.sync();
console.log('Wallet synced');

// List unspent outputs before consolidation.
Expand Down Expand Up @@ -79,7 +79,7 @@ async function run() {
);

// Sync wallet
wallet.sync();
await wallet.sync();
console.log('Wallet synced');

// Outputs after consolidation
Expand Down

0 comments on commit 22907db

Please sign in to comment.