Skip to content

Commit

Permalink
Just return undefined if an address can't be decoded.
Browse files Browse the repository at this point in the history
  • Loading branch information
caedesvvv committed Oct 22, 2014
1 parent f7e639b commit 8a04d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendors/wrappers/bitcoinjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ define(['bitcoinjs-lib-real', 'convert'], function(Bitcoin, Convert) {
return new Bitcoin.Address(hash, network.scriptHash);
}

throw Error(type + ' has no matching Address')
// throw Error(type + ' has no matching Address')
}

Bitcoin.Address.getVersion = function(address) {
Expand Down

0 comments on commit 8a04d60

Please sign in to comment.