tutorialtoken-box icon indicating copy to clipboard operation
tutorialtoken-box copied to clipboard

获取余额取值错误

Open YouquanWang opened this issue 5 years ago • 0 comments

balance = result.c[0]; result 返回的是一个bignumber balance = result.toFixed()/Math.pow(10,18) 这才是真正的代币数量

YouquanWang avatar Aug 09 '20 23:08 YouquanWang