diff options
author | chriseth <c@ethdev.com> | 2016-12-09 21:18:10 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-12-12 18:12:12 +0800 |
commit | ffccbd432a36a9fae0857961d44d0455fce93c1c (patch) | |
tree | 97139f5710ba4e42eb669e863ce115c2a37643cc | |
parent | 273804503096d8d5d0c9d1fcece48da871f2d90f (diff) | |
download | dexon-solidity-ffccbd432a36a9fae0857961d44d0455fce93c1c.tar.gz dexon-solidity-ffccbd432a36a9fae0857961d44d0455fce93c1c.tar.zst dexon-solidity-ffccbd432a36a9fae0857961d44d0455fce93c1c.zip |
Display tx hash for debugging.
-rw-r--r-- | test/ExecutionFramework.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/ExecutionFramework.cpp b/test/ExecutionFramework.cpp index 9e3ecac3..ddcd9cb6 100644 --- a/test/ExecutionFramework.cpp +++ b/test/ExecutionFramework.cpp @@ -62,7 +62,7 @@ void ExecutionFramework::sendMessage(bytes const& _data, bool _isCreation, u256 cout << "CALL " << m_sender.hex() << " -> " << m_contractAddress.hex() << ":" << endl; if (_value > 0) cout << " value: " << _value << endl; - cout << " in: " << toHex(_data) << endl; + cout << " in: " << toHex(_data) << endl; } RPCSession::TransactionData d; d.data = "0x" + toHex(_data); @@ -91,7 +91,10 @@ void ExecutionFramework::sendMessage(bytes const& _data, bool _isCreation, u256 } if (m_showMessages) - cout << " out: " << toHex(m_output) << endl; + { + cout << " out: " << toHex(m_output) << endl; + cout << " tx hash: " << txHash << endl; + } m_gasUsed = u256(receipt.gasUsed); m_logs.clear(); |