lantern wallet new|list|balance|export|import|default all use openWalletDefault() → build.DefaultNetwork — there is no --network flag. On a calibration or devnet node the wallet commands silently read/write the MAINNET keystore.
wallet send gained --network in PR #144; the rest should follow the same pattern (and walletBalance/walletList display should respect applyAddressNetwork, added in PR #145, so calibration addresses print t-prefixed).
Also worth doing while in there: wallet balance builds an offline ChainAPI against the mainnet gateway hardcoded (fetchTrustedHead(ctx, defaultGateway, build.Mainnet)) — should route through the running daemon like the new wallet send does.
lantern wallet new|list|balance|export|import|defaultall useopenWalletDefault()→build.DefaultNetwork— there is no--networkflag. On a calibration or devnet node the wallet commands silently read/write the MAINNET keystore.wallet sendgained--networkin PR #144; the rest should follow the same pattern (andwalletBalance/walletListdisplay should respectapplyAddressNetwork, added in PR #145, so calibration addresses print t-prefixed).Also worth doing while in there:
wallet balancebuilds an offline ChainAPI against the mainnet gateway hardcoded (fetchTrustedHead(ctx, defaultGateway, build.Mainnet)) — should route through the running daemon like the newwallet senddoes.