LiskArchive / lisk-elements

⚙️ Library for sending Lisk transactions from the client or server
https://lisk.io/
GNU General Public License v3.0
250 stars 64 forks source link

Transaction constructor with fee and amount as type numbers should be accepted #1096

Closed SargeKhan closed 5 years ago

SargeKhan commented 5 years ago

Expected behavior

Constructor should convert number to a string/bignumber

Actual behavior

Constructor throws an error if amount or fee is a number

Which version(s) does this affect? (Environment, OS, etc...)

2.0.0