@@ -444,7 +444,7 @@ class CWalletTx
444
444
* on this bitcoin node, and set to 0 for transactions that were created
445
445
* externally and came in through the network or sendrawtransaction RPC.
446
446
*/
447
- char fFromMe ;
447
+ bool fFromMe ;
448
448
int64_t nOrderPos; // !< position in ordered transaction list
449
449
std::multimap<int64_t , CWalletTx*>::const_iterator m_it_wtxOrdered;
450
450
@@ -501,8 +501,8 @@ class CWalletTx
501
501
502
502
std::vector<char > dummy_vector1; // !< Used to be vMerkleBranch
503
503
std::vector<char > dummy_vector2; // !< Used to be vtxPrev
504
- char dummy_char = false ; // !< Used to be fSpent
505
- s << tx << hashBlock << dummy_vector1 << nIndex << dummy_vector2 << mapValueCopy << vOrderForm << fTimeReceivedIsTxTime << nTimeReceived << fFromMe << dummy_char ;
504
+ bool dummy_bool = false ; // !< Used to be fSpent
505
+ s << tx << hashBlock << dummy_vector1 << nIndex << dummy_vector2 << mapValueCopy << vOrderForm << fTimeReceivedIsTxTime << nTimeReceived << fFromMe << dummy_bool ;
506
506
}
507
507
508
508
template <typename Stream>
@@ -512,8 +512,8 @@ class CWalletTx
512
512
513
513
std::vector<uint256> dummy_vector1; // !< Used to be vMerkleBranch
514
514
std::vector<CMerkleTx> dummy_vector2; // !< Used to be vtxPrev
515
- char dummy_char ; // ! Used to be fSpent
516
- s >> tx >> hashBlock >> dummy_vector1 >> nIndex >> dummy_vector2 >> mapValue >> vOrderForm >> fTimeReceivedIsTxTime >> nTimeReceived >> fFromMe >> dummy_char ;
515
+ bool dummy_bool ; // ! Used to be fSpent
516
+ s >> tx >> hashBlock >> dummy_vector1 >> nIndex >> dummy_vector2 >> mapValue >> vOrderForm >> fTimeReceivedIsTxTime >> nTimeReceived >> fFromMe >> dummy_bool ;
517
517
518
518
ReadOrderPos (nOrderPos, mapValue);
519
519
nTimeSmart = mapValue.count (" timesmart" ) ? (unsigned int )atoi64 (mapValue[" timesmart" ]) : 0 ;
0 commit comments