Merge branch 'scriptclean'
Conflicts: test/wallet.js
This commit is contained in:
commit
8e00eb6855
20 changed files with 500 additions and 587 deletions
src
|
@ -152,7 +152,7 @@ function Wallet(seed, network) {
|
|||
var address
|
||||
|
||||
try {
|
||||
address = Address.fromScriptPubKey(txOut.script, network).toString()
|
||||
address = Address.fromOutputScript(txOut.script, network).toString()
|
||||
} catch(e) {
|
||||
if (!(e.message.match(/has no matching Address/))) throw e
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue