Skip to content

Commit

Permalink
Update txinput.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ukstv authored Jan 14, 2019
1 parent e2230d9 commit 69a1142
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/txinput.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,7 @@ class LedgerTXInput {
toKey() {
if (!this._key) {
const key = this.getOutpoint().toKey();

// TODO: remove after bcoin@next
if (typeof key === 'string')
this._key = Buffer.from(key, 'hex');
else
this._key = key;
this._key = key;
}

return this._key;
Expand Down

0 comments on commit 69a1142

Please sign in to comment.