mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Print hash in CMutableTransaction::ToString
Keep in line with CTransaction::ToString. Truncates the hash at 10.
This commit is contained in:
parent
338f106fe3
commit
2491e2af3e
@ -81,7 +81,8 @@ uint256 CMutableTransaction::GetHash() const
|
|||||||
std::string CMutableTransaction::ToString() const
|
std::string CMutableTransaction::ToString() const
|
||||||
{
|
{
|
||||||
std::string str;
|
std::string str;
|
||||||
str += strprintf("CMutableTransaction(ver=%d, vin.size=%u, vout.size=%u, nLockTime=%u)\n",
|
str += strprintf("CMutableTransaction(hash=%s, ver=%d, vin.size=%u, vout.size=%u, nLockTime=%u)\n",
|
||||||
|
GetHash().ToString().substr(0,10),
|
||||||
nVersion,
|
nVersion,
|
||||||
vin.size(),
|
vin.size(),
|
||||||
vout.size(),
|
vout.size(),
|
||||||
|
Loading…
Reference in New Issue
Block a user