From 55201fedba0084e1347bc5f0b0a4ac0fe3dd620f Mon Sep 17 00:00:00 2001 From: Hein Bloed Date: Thu, 8 Feb 2018 18:25:24 +0100 Subject: [PATCH 1/2] correct settings for p2shHeader --- .../java/io/bisq/gui/util/validation/params/ODNParams.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/src/main/java/io/bisq/gui/util/validation/params/ODNParams.java b/gui/src/main/java/io/bisq/gui/util/validation/params/ODNParams.java index 644a54461a4..ebc14978f67 100644 --- a/gui/src/main/java/io/bisq/gui/util/validation/params/ODNParams.java +++ b/gui/src/main/java/io/bisq/gui/util/validation/params/ODNParams.java @@ -36,8 +36,8 @@ public static synchronized ODNParams get() { // We only use the properties needed for address validation public ODNParams() { super(); - addressHeader = 75; // networkVersion (0x4b) - p2shHeader = -1; // TODO ??privateKeyPrefix 203 (0xcb) tbd? + addressHeader = 75; + p2shHeader = 125; acceptableAddressCodes = new int[]{addressHeader, p2shHeader}; } From 00f6f8ea4b134b470ec97347f18bbeeeb7430250 Mon Sep 17 00:00:00 2001 From: Hein Bloed Date: Thu, 8 Feb 2018 18:26:45 +0100 Subject: [PATCH 2/2] added ODN to createAllSortedCryptoCurrenciesList --- common/src/main/java/io/bisq/common/locale/CurrencyUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/java/io/bisq/common/locale/CurrencyUtil.java b/common/src/main/java/io/bisq/common/locale/CurrencyUtil.java index 9754f336662..7dde834b245 100644 --- a/common/src/main/java/io/bisq/common/locale/CurrencyUtil.java +++ b/common/src/main/java/io/bisq/common/locale/CurrencyUtil.java @@ -131,6 +131,7 @@ public static List createAllSortedCryptoCurrenciesList() { result.add(new CryptoCurrency("NMC", "Namecoin")); result.add(new CryptoCurrency("NBT", "NuBits")); result.add(new CryptoCurrency("NXT", "Nxt")); + result.add(new CryptoCurrency("ODN", "Obsidian")); result.add(new CryptoCurrency("888", "OctoCoin")); result.add(new CryptoCurrency("PART", "Particl")); result.add(new CryptoCurrency("PASC", "Pascal Coin", true));