Fix Char as Bool in interfaces
This commit is contained in:
parent
e5fdda68c6
commit
2dbfb37b40
1 changed files with 5 additions and 5 deletions
|
@ -444,7 +444,7 @@ public:
|
||||||
* on this bitcoin node, and set to 0 for transactions that were created
|
* on this bitcoin node, and set to 0 for transactions that were created
|
||||||
* externally and came in through the network or sendrawtransaction RPC.
|
* externally and came in through the network or sendrawtransaction RPC.
|
||||||
*/
|
*/
|
||||||
char fFromMe;
|
bool fFromMe;
|
||||||
int64_t nOrderPos; //!< position in ordered transaction list
|
int64_t nOrderPos; //!< position in ordered transaction list
|
||||||
std::multimap<int64_t, CWalletTx*>::const_iterator m_it_wtxOrdered;
|
std::multimap<int64_t, CWalletTx*>::const_iterator m_it_wtxOrdered;
|
||||||
|
|
||||||
|
@ -501,8 +501,8 @@ public:
|
||||||
|
|
||||||
std::vector<char> dummy_vector1; //!< Used to be vMerkleBranch
|
std::vector<char> dummy_vector1; //!< Used to be vMerkleBranch
|
||||||
std::vector<char> dummy_vector2; //!< Used to be vtxPrev
|
std::vector<char> dummy_vector2; //!< Used to be vtxPrev
|
||||||
char dummy_char = false; //!< Used to be fSpent
|
bool dummy_bool = false; //!< Used to be fSpent
|
||||||
s << tx << hashBlock << dummy_vector1 << nIndex << dummy_vector2 << mapValueCopy << vOrderForm << fTimeReceivedIsTxTime << nTimeReceived << fFromMe << dummy_char;
|
s << tx << hashBlock << dummy_vector1 << nIndex << dummy_vector2 << mapValueCopy << vOrderForm << fTimeReceivedIsTxTime << nTimeReceived << fFromMe << dummy_bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename Stream>
|
template<typename Stream>
|
||||||
|
@ -512,8 +512,8 @@ public:
|
||||||
|
|
||||||
std::vector<uint256> dummy_vector1; //!< Used to be vMerkleBranch
|
std::vector<uint256> dummy_vector1; //!< Used to be vMerkleBranch
|
||||||
std::vector<CMerkleTx> dummy_vector2; //!< Used to be vtxPrev
|
std::vector<CMerkleTx> dummy_vector2; //!< Used to be vtxPrev
|
||||||
char dummy_char; //! Used to be fSpent
|
bool dummy_bool; //! Used to be fSpent
|
||||||
s >> tx >> hashBlock >> dummy_vector1 >> nIndex >> dummy_vector2 >> mapValue >> vOrderForm >> fTimeReceivedIsTxTime >> nTimeReceived >> fFromMe >> dummy_char;
|
s >> tx >> hashBlock >> dummy_vector1 >> nIndex >> dummy_vector2 >> mapValue >> vOrderForm >> fTimeReceivedIsTxTime >> nTimeReceived >> fFromMe >> dummy_bool;
|
||||||
|
|
||||||
ReadOrderPos(nOrderPos, mapValue);
|
ReadOrderPos(nOrderPos, mapValue);
|
||||||
nTimeSmart = mapValue.count("timesmart") ? (unsigned int)atoi64(mapValue["timesmart"]) : 0;
|
nTimeSmart = mapValue.count("timesmart") ? (unsigned int)atoi64(mapValue["timesmart"]) : 0;
|
||||||
|
|
Loading…
Reference in a new issue