address: lint.
This commit is contained in:
parent
a9ea4e5531
commit
44f6dd9386
@ -225,7 +225,7 @@ Address.prototype.toBase58 = function toBase58(network) {
|
|||||||
Address.prototype.toBech32 = function toBech32(network) {
|
Address.prototype.toBech32 = function toBech32(network) {
|
||||||
var version = this.version;
|
var version = this.version;
|
||||||
var hash = this.hash;
|
var hash = this.hash;
|
||||||
var hrp, data;
|
var hrp;
|
||||||
|
|
||||||
assert(version !== -1,
|
assert(version !== -1,
|
||||||
'Cannot convert non-segwit address to bech32.');
|
'Cannot convert non-segwit address to bech32.');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user