Adjusting argument order in order to match expected & actual
This commit is contained in:
parent
e34596d0b4
commit
f74f2cefc2
1 changed files with 1 additions and 1 deletions
|
@ -20,6 +20,6 @@ public class KeyTest {
|
|||
String wif = "5J96pne45qWM1WpektoeazN6k9Mt93jQ7LyueRxFfEMTiy6yxjM";
|
||||
ECKey sourcePrivate = DumpedPrivateKey.fromBase58(null, wif).getKey();
|
||||
Address address = new Address(ECKey.fromPublicOnly(sourcePrivate.getPubKey()));
|
||||
Assert.assertEquals("Generated address matches expected one", address.toString(), "BTS8RiFgs8HkcVPVobHLKEv6yL3iXcC9SWjbPVS15dDAXLG9GYhnY");
|
||||
Assert.assertEquals("Generated address matches expected one", "BTS8RiFgs8HkcVPVobHLKEv6yL3iXcC9SWjbPVS15dDAXLG9GYhnY", address.toString());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue