From 38f371f7c60241e9518c2e6b1a97bc2ffb526bfa Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Tue, 14 May 2019 16:09:42 +1000 Subject: [PATCH] Set default to blocksBehind: 3 to avoid transaction expired race condition for default calls. --- src/eosManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eosManager.ts b/src/eosManager.ts index 5e49761..9c29356 100644 --- a/src/eosManager.ts +++ b/src/eosManager.ts @@ -50,7 +50,7 @@ export class EOSManager { static transact = ( transaction: any, eos = EOSManager.api, - options = { blocksBehind: 0, expireSeconds: 30 } + options = { blocksBehind: 3, expireSeconds: 30 } ) => { if (ConfigManager.debugTransactions) { const calls = transaction.actions.map((action: any) => `${action.account}.${action.name}`);