From 8d83f83df1d46f319e93ed9c5949b8f75ddbb123 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 5 Aug 2015 15:49:47 +0200 Subject: [PATCH] Fix ethkey I/O. --- ethkey/KeyAux.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ethkey/KeyAux.h b/ethkey/KeyAux.h index 50a6ca6fa..70b76d6c6 100644 --- a/ethkey/KeyAux.h +++ b/ethkey/KeyAux.h @@ -249,7 +249,7 @@ public: { auto s = t.sender(); if (t.isCreation()) - cout << " creates: " << toAddress(s, t.nonce()).hex(); + cout << " creates: " << toAddress(s, t.nonce()).hex() << endl; cout << " from: " << s.hex() << endl; } catch (...) @@ -327,11 +327,11 @@ public: cout << t.sha3() << ": "; if (isFile) { - writeFile(i + ".signed", t.data()); + writeFile(i + ".signed", toHex(t.rlp())); cout << i + ".signed" << endl; } else - cout << toHex(t.data()) << endl; + cout << toHex(t.rlp()) << endl; } catch (Exception& ex) {