-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backend: make sure fee is less than token value
This commit adds tx parsing to extract the amount of token being transfered, this allows for estimation of token's value which then gets compared with miner fee value to prevent unresonable miner fees when transferring tokens. This commit also updates NEthereum to a new version because the previous version was parsing token value incorrectly. It's also noteworthy that Web3 object no longer accepts configuring the timeout. Co-authored-by: Mehrshad <[email protected]>
- Loading branch information
Showing
6 changed files
with
151 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.