diff --git a/packages/agoric-cli/src/commands/wallet.js b/packages/agoric-cli/src/commands/wallet.js index 715b06c661f..673b1953270 100644 --- a/packages/agoric-cli/src/commands/wallet.js +++ b/packages/agoric-cli/src/commands/wallet.js @@ -155,9 +155,20 @@ export const makeWalletCommand = async () => { } catch (e) { console.error('CAUGHT HERE', e); } - execFileSync('agd', [`query`, 'bank', 'balances', opts.from], { - stdio: 'inherit', - }); + execFileSync( + 'agd', + [ + 'query', + '--node', + networkConfig.rpcAddrs[0], + 'bank', + 'balances', + opts.from, + ], + { + stdio: 'inherit', + }, + ); }); wallet