From f74f2cefc272edcc8fef28b2c93d5d06e41df5a4 Mon Sep 17 00:00:00 2001 From: "Nelson R. Perez" Date: Thu, 2 Nov 2017 11:47:59 -0500 Subject: [PATCH] Adjusting argument order in order to match expected & actual --- graphenej/src/test/java/cy/agorise/graphenej/KeyTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphenej/src/test/java/cy/agorise/graphenej/KeyTest.java b/graphenej/src/test/java/cy/agorise/graphenej/KeyTest.java index ba5836f..cd1ff32 100644 --- a/graphenej/src/test/java/cy/agorise/graphenej/KeyTest.java +++ b/graphenej/src/test/java/cy/agorise/graphenej/KeyTest.java @@ -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()); } }