bech32: minor.
This commit is contained in:
parent
518484cac0
commit
f1f112b6c6
@ -273,7 +273,7 @@ function encode(hrp, version, hash) {
|
||||
return serialize(hrp, data);
|
||||
}
|
||||
|
||||
if (native && native.toBech32)
|
||||
if (native)
|
||||
encode = native.toBech32;
|
||||
|
||||
/**
|
||||
@ -304,7 +304,7 @@ function decode(str) {
|
||||
return new AddrResult(hrp, version, hash);
|
||||
}
|
||||
|
||||
if (native && native.fromBech32)
|
||||
if (native)
|
||||
decode = native.fromBech32;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user