Skip to content

Commit

Permalink
feat: reduce the minimal dai amount for the topup (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechsimetka authored Jun 28, 2022
1 parent 880c3ac commit 2a5c598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ export class ResolvedWallet {
}

public async transfer(destination: string, jsonRpcProvider: string): Promise<void> {
const DUMMY_GAS_PRICE = '300000000000000'
const DUMMY_GAS_PRICE = '50000000000000'

if (this.bzz.toDecimal.gt(0.1)) {
if (this.bzz.toDecimal.gt(0.05)) {
await Rpc.sendBzzTransaction(this.privateKey, destination, this.bzz.toString, jsonRpcProvider)
await sleepMs(5_000)
}
Expand Down

0 comments on commit 2a5c598

Please sign in to comment.