Adjusting argument order in order to match expected & actual

develop
Nelson R. Perez 2017-11-02 11:47:59 -05:00
parent e34596d0b4
commit f74f2cefc2
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}