better wallet.dat flush, consolidated QueryPerformanceCounter, PRI64d printf portability
This commit is contained in:
2
main.h
2
main.h
@@ -344,7 +344,7 @@ public:
|
||||
{
|
||||
if (scriptPubKey.size() < 6)
|
||||
return "CTxOut(error)";
|
||||
return strprintf("CTxOut(nValue=%I64d.%08I64d, scriptPubKey=%s)", nValue / COIN, nValue % COIN, scriptPubKey.ToString().substr(0,24).c_str());
|
||||
return strprintf("CTxOut(nValue=%"PRI64d".%08"PRI64d", scriptPubKey=%s)", nValue / COIN, nValue % COIN, scriptPubKey.ToString().substr(0,24).c_str());
|
||||
}
|
||||
|
||||
void print() const
|
||||
|
||||
Reference in New Issue
Block a user