Skip to content

Commit

Permalink
fix(cli): query AGORIC_NET for wallet show cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Mar 9, 2023
1 parent 49644bc commit a298823
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions packages/agoric-cli/src/commands/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a298823

Please sign in to comment.