Skip to content

Commit

Permalink
Merge pull request #3 from Hein-Bloed/list-odn-coin
Browse files Browse the repository at this point in the history
Fixed p2shHeader attribute and added to another List
  • Loading branch information
Manbearpixel authored Feb 11, 2018
2 parents f083638 + 00f6f8e commit 72fffb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public static List<CryptoCurrency> 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));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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};
}

Expand Down

0 comments on commit 72fffb3

Please sign in to comment.