Browse Source

Update EthereumJSBridge signAndBroadcast signature

master
meriadec 7 years ago
parent
commit
8b122ca318
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/bridge/EthereumJSBridge.js

2
src/bridge/EthereumJSBridge.js

@ -263,7 +263,7 @@ const EthereumBridge: WalletBridge<Transaction> = {
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)

Loading…
Cancel
Save