Skip to content

Commit

Permalink
Release 1.6.4 (#2331)
Browse files Browse the repository at this point in the history
* fix: gas issues on transaction

* feat(version): bump to 1.6.4
  • Loading branch information
sk91 authored Jul 20, 2020
1 parent 87e359f commit 590799a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "selfkey-identity-wallet",
"productName": "SelfKey Identity Wallet",
"version": "1.6.3",
"version": "1.6.4",
"description": "The Official SelfKey Identity Wallet for Desktop",
"browser": [
"chrome"
Expand Down
2 changes: 1 addition & 1 deletion src/main/token/token-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class TokenService {
const MAX_GAS = 4500000;
const amountWithDecimals = new BigNumber(amount)
.times(new BigNumber(10).pow(decimal))
.toString();
.toFixed();
const estimate = await tokenContract.methods
.transfer(address, amountWithDecimals)
.estimateGas({ from: fromAddress });
Expand Down

0 comments on commit 590799a

Please sign in to comment.