diff --git a/lib/bcoin/wallet.js b/lib/bcoin/wallet.js index 6f920115..b1c01f97 100644 --- a/lib/bcoin/wallet.js +++ b/lib/bcoin/wallet.js @@ -861,7 +861,7 @@ Wallet.prototype.getScriptHash160 = function getScriptHash160() { }; Wallet.prototype.getScriptHash256 = function getScriptHash256() { - return this.receiveAddress.getScriptHash160(); + return this.receiveAddress.getScriptHash256(); }; Wallet.prototype.getScriptAddress = function getScriptAddress() {