|
@@ -25,7 +25,7 @@ export class OwltoClient {
|
|
|
const makerAddress = lpRes.data.msg.maker_address
|
|
|
const currentBalance = await this.provider.getBalance(this.wallet.address)
|
|
|
return await polly()
|
|
|
- .retry(5)
|
|
|
+ .waitAndRetry([1000 * 60, 1000 * 60 * 2, 1000 * 60 * 3])
|
|
|
.executeForPromise(async info => {
|
|
|
if (info.count > 0) {
|
|
|
OwltoClient.logger.info(`${this.wallet.address}: Retry ${info.count} times`)
|