mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
fix typo
This commit is contained in:
@@ -88,7 +88,7 @@ class Currency extends Hash160 {
|
||||
super(byteBuf ?? Currency.XRP.bytes);
|
||||
const code = this.bytes.slice(12, 15);
|
||||
|
||||
if (this.bytes[0] !== 0 && this.bytes[0] !== 0) {
|
||||
if (this.bytes[0] !== 0 && this.bytes[1] !== 0) {
|
||||
this._iso = undefined;
|
||||
} else if (code.toString("hex") === "000000") {
|
||||
this._iso = "XRP";
|
||||
|
||||
Reference in New Issue
Block a user