diff --git a/lib/primitives/keyring.js b/lib/primitives/keyring.js index 20fe4f8a..b7d9830b 100644 --- a/lib/primitives/keyring.js +++ b/lib/primitives/keyring.js @@ -581,8 +581,8 @@ KeyRing.prototype.getKeyHash = function getKeyHash(enc) { KeyRing.prototype.getKeyAddress = function getKeyAddress(enc) { if (!this._keyAddress) { const hash = this.getKeyHash(); - let addr; + let addr; if (this.witness) addr = Address.fromWitnessPubkeyhash(hash, this.network); else