Skip to content

Commit d1be8bd

Browse files
committed
fix: debug print the full bytes
1 parent 5d286a5 commit d1be8bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/primitives/transaction.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ CTxOut::CTxOut(const CAmount& nValueIn, CScript scriptPubKeyIn)
5858

5959
std::string CTxOut::ToString() const
6060
{
61-
return strprintf("CTxOut(nValue=%d.%08d, scriptPubKey=%s)", nValue / COIN, nValue % COIN, HexStr(scriptPubKey).substr(0, 30));
61+
return strprintf("CTxOut(nValue=%d.%08d, scriptPubKey=%s)", nValue / COIN, nValue % COIN, HexStr(scriptPubKey));
6262
}
6363

6464
CMutableTransaction::CMutableTransaction() : nVersion(CTransaction::CURRENT_VERSION), nType(TRANSACTION_NORMAL), nLockTime(0) {}

0 commit comments

Comments
 (0)