Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
500k gas
Browse files Browse the repository at this point in the history
  • Loading branch information
k06a committed Jul 4, 2019
1 parent 51875ce commit f325c06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/redeem/redeem-form/redeem-form.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class RedeemFormComponent implements OnInit {
.call();

const lastPrice = 1e18 / expectedRate;
this.fee = 400000 * this.gasPrice / lastPrice / 10 ** 18;
this.fee = 600000 * this.gasPrice / lastPrice / 10 ** 18;

this.fee = Math.ceil(this.fee * 100 / this.tokensAmount);
// console.log('Fees', this.fee);
Expand Down
2 changes: 1 addition & 1 deletion src/app/util/wallet.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export class WalletService implements OnInit {
from: fromAddress,
// gas: await tx.estimateGas(),
// gasPrice: 2e9,
gas: 400000,
gas: 500000,
gasPrice: gasPrice,
nonce: nonce
});
Expand Down

0 comments on commit f325c06

Please sign in to comment.