keyring: minor.
This commit is contained in:
parent
edebc51d18
commit
ff8b0418b1
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user