mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fix tx output
This commit is contained in:
parent
fa5c4c8857
commit
6902084231
@ -217,8 +217,8 @@ void doBlockTests(json_spirit::mValue& _v, bool _fillin)
|
|||||||
txObject["data"] = toHex(tx.data());
|
txObject["data"] = toHex(tx.data());
|
||||||
txObject["gasLimit"] = toString(tx.gas());
|
txObject["gasLimit"] = toString(tx.gas());
|
||||||
txObject["gasPrice"] = toString(tx.gasPrice());
|
txObject["gasPrice"] = toString(tx.gasPrice());
|
||||||
txObject["r"] = toString(tx.signature().r);
|
txObject["r"] = "0x" + toString(tx.signature().r);
|
||||||
txObject["s"] = toString(tx.signature().s);
|
txObject["s"] = "0x" + toString(tx.signature().s);
|
||||||
txObject["v"] = to_string(tx.signature().v + 27);
|
txObject["v"] = to_string(tx.signature().v + 27);
|
||||||
txObject["to"] = toString(tx.receiveAddress());
|
txObject["to"] = toString(tx.receiveAddress());
|
||||||
txObject["value"] = toString(tx.value());
|
txObject["value"] = toString(tx.value());
|
||||||
|
Loading…
Reference in New Issue
Block a user