From 8b122ca3181e8e8314ce2440b99d218d4d623799 Mon Sep 17 00:00:00 2001 From: meriadec Date: Tue, 22 May 2018 17:11:53 +0200 Subject: [PATCH] Update EthereumJSBridge signAndBroadcast signature --- src/bridge/EthereumJSBridge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bridge/EthereumJSBridge.js b/src/bridge/EthereumJSBridge.js index 0415b2c8..794d617b 100644 --- a/src/bridge/EthereumJSBridge.js +++ b/src/bridge/EthereumJSBridge.js @@ -263,7 +263,7 @@ const EthereumBridge: WalletBridge = { getMaxAmount: (a, t) => Promise.resolve(a.balance - t.gasPrice), - signAndBroadcast: async (a, t, deviceId) => { + signAndBroadcast: async ({ account: a, transaction: t, deviceId }) => { const api = apiForCurrency(a.currency) const nonce = await api.getAccountNonce(a.address)