nuls-io / nuls-v2

NULS2.0 Node Wallet Implemented in Java
https://nuls.io
MIT License
117 stars 54 forks source link

Cmd client prints "baglance" instead of "balance" #339

Closed nmschorr closed 5 years ago

nmschorr commented 5 years ago

The chainbox cmd cli tool prints "baglance" instead of "balance". I believe the offending word can be found in: nuls-cmd-client/src/main/java/io/nuls/cmd/client/processor/account/GetAccountProcessor.java

on or near line 105 in the chainbox branch: res.put("baglance",balanceMap);

Example:

nuls>>> getaccount tNULSeBaMjiyLX3aPdq9oanVhfFb9hp114YEgX { ... "alias" : null, "baglance" : { "available" : "51966.45677167", "total" : "251966.45677167", "freeze" : "200000"

Steps to Reproduce: 0) Launch the chainbox cmd cli tool in shell 1) Enter: getaccount Result: "baglance" is displayed.

lijunzhou commented 5 years ago

Thank you, I will fix it in next version.

nmschorr commented 5 years ago

Many thanks! -Nancy