0chain / zwalletcli

A client CLI using GoSDK to interface the blockchain, and smart contracts for interest, lock, stake, and vesting
Other
21 stars 16 forks source link

Fix wrong token unit checking #318

Closed peterlimg closed 11 months ago

peterlimg commented 11 months ago

A brief description of the changes in this PR: In bridge-burn-eth, we check if the current token balance amount is greater than the amount to burn. But it used wrong token unit, the token balance was in ZCN, but the amount is in SAS.

Tasks to complete before merging PR:

Associated PRs (Link as appropriate):