Skip to content

Commit e0f29d0

Browse files
committed
Add missing await
1 parent f2def19 commit e0f29d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cookbook/cookbook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2726,7 +2726,7 @@ The id can be used later for signing and performing the proposal.
27262726
const txHash = await entrypoint.sendTransaction(transaction);
27272727

27282728
// parse the outcome and get the proposal id
2729-
const actionId = controller.awaitCompletedPerformAction(txHash);
2729+
const actionId = await controller.awaitCompletedPerformAction(txHash);
27302730
}
27312731
```
27322732

cookbook/multisig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ import { loadAbiRegistry, loadContractCode } from "../src/testutils";
117117
const txHash = await entrypoint.sendTransaction(transaction);
118118

119119
// parse the outcome and get the proposal id
120-
const actionId = controller.awaitCompletedPerformAction(txHash);
120+
const actionId = await controller.awaitCompletedPerformAction(txHash);
121121
}
122122
// ```
123123

0 commit comments

Comments
 (0)