DumpedPrivateKeyTest: properly use NetworkParameters.getDumpedPrivateKeyHeader() accessor
@@ -94,13 +94,13 @@ public class DumpedPrivateKeyTest {
@Test(expected = AddressFormatException.InvalidDataLength.class)
public void fromBase58_tooShort() {
- String base58 = Base58.encodeChecked(MAINNET.dumpedPrivateKeyHeader, new byte[31]);
+ String base58 = Base58.encodeChecked(MAINNET.getDumpedPrivateKeyHeader(), new byte[31]);
DumpedPrivateKey.fromBase58(null, base58);
}
@Test(expected = AddressFormatException.InvalidDataLength.class)
public void fromBase58_tooLong() {
- String base58 = Base58.encodeChecked(MAINNET.dumpedPrivateKeyHeader, new byte[34]);
+ String base58 = Base58.encodeChecked(MAINNET.getDumpedPrivateKeyHeader(), new byte[34]);
DumpedPrivateKey.fromBase58(null, base58);
}
