harmony-one / sdk

Javascript SDK of Harmony protocol.
MIT License
92 stars 43 forks source link

Delegate and undelegate wrong amount type #69

Open mpetrun5 opened 3 years ago

mpetrun5 commented 3 years ago

Amount of tokens to delegate and undelegate is typed as number, but expects amount in wei and is too big for number type. If type ignored and amount is sent as hex string with wei amount it works.