feat: reduce the minimal dai amount for the topup (#444)

This commit is contained in:
Vojtech Simetka
2022-06-28 11:01:57 +02:00
committed by GitHub
parent 880c3ac33e
commit 2a5c598ece
+2 -2
View File
@@ -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)
}