Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion yarn-project/aztec/src/bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function main() {
program = injectPXECommands(program, userLog, debugLogger);
program = injectMiscCommands(program, userLog);
program = injectDevnetCommands(program, userLog, debugLogger);
program = await injectWalletCommands(program, userLog, debugLogger);
program = injectWalletCommands(program, userLog, debugLogger);

await program.parseAsync(process.argv);
}
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/cli-wallet/src/storage/wallet_db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class WalletDB {

async popBridgedFeeJuice(recipient: AztecAddress, log: LogFn) {
let stackPointer = (await this.#bridgedFeeJuice.getAsync(`${recipient.toString()}:stackPointer`))?.readInt8() || 0;
const result = this.#bridgedFeeJuice.getAsync(`${recipient.toString()}:${stackPointer}`);
const result = await this.#bridgedFeeJuice.getAsync(`${recipient.toString()}:${stackPointer}`);
if (!result) {
throw new Error(
`No stored fee juice available for recipient ${recipient.toString()}. Please provide claim amount and secret. Stack pointer ${stackPointer}`,
Expand Down