Weird available balance report
miraclx opened this issue ยท 1 comments
miraclx commented
An account with insufficient balance for storage + ~tx costs seems to have its "available balance" wrapped around. Makes me think I have more money than I (or anyone) does ๐.
$ near tokens alt.miraclx.near view-near-balance network-config mainnet now
alt.miraclx.near account has 340282366920938.460863748557431768211456 NEAR available for transfer (the total balance is 0.00022037395 NEAR, but 0.00182 NEAR is locked for storage and the transfer transaction fee is ~0.001 NEAR)
Here is your console command if you need to script it or re-run:
near tokens alt.miraclx.near view-near-balance network-config mainnet now
Here's the relevant bit of code:
Lines 147 to 149 in dd82e7b
Looks like that pulls into logic within https://github.com/near/near-token-rs
frolvanya commented