Skip to content

Commit

Permalink
Merge pull request #238 from oplabs/mikeshultz/ledger-txsend-fix
Browse files Browse the repository at this point in the history
Need to set engine for LedgerSubprovider for some reason
  • Loading branch information
sparrowDom authored Sep 22, 2020
2 parents 2dfd073 + 76abbe1 commit aec7ef8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dapp/src/utils/LedgerConnector.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ export class LedgerConnector extends AbstractConnector {
}

createProvider(providerOpts) {
return new LedgerSubprovider(providerOpts)
const subprovider = new LedgerSubprovider(providerOpts)
subprovider.setEngine(this.engine)
return subprovider
}

async deriveProvider(providerOpts) {
Expand Down

0 comments on commit aec7ef8

Please sign in to comment.