From 735d1c8ec4f04bebde96c2c21e31e1d32aabb002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Fri, 20 Jul 2018 17:31:28 +0200 Subject: [PATCH] Fixes 'Ledger Sequence too high' this error was related to when you don't sign on the device fast enough. this should increase the accepted time. --- src/bridge/RippleJSBridge.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bridge/RippleJSBridge.js b/src/bridge/RippleJSBridge.js index 53c5f181..969fb6cb 100644 --- a/src/bridge/RippleJSBridge.js +++ b/src/bridge/RippleJSBridge.js @@ -68,6 +68,7 @@ async function signAndBroadcast({ a, t, deviceId, isCancelled, onSigned, onOpera } const instruction = { fee: formatAPICurrencyXRP(t.fee).value, + maxLedgerVersionOffset: 12, } const prepared = await api.preparePayment(a.freshAddress, payment, instruction)