address: fix witnessscripthash.
This commit is contained in:
parent
6e298c445a
commit
fb53992bf6
@ -597,7 +597,7 @@ Address.prototype.fromWitnessScripthash = function fromWitnessScripthash(hash, n
|
||||
*/
|
||||
|
||||
Address.fromWitnessScripthash = function fromWitnessScripthash(hash, network) {
|
||||
return new Address().fromScripthash(hash, network);
|
||||
return new Address().fromWitnessScripthash(hash, network);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user