correct settings for p2shHeader

This commit is contained in:
Hein Bloed 2018-02-08 18:25:24 +01:00 committed by Manbearpixel
parent abe20f1b97
commit b067831e5e

View File

@ -36,8 +36,8 @@ public class ODNParams extends NetworkParameters {
// 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};
}