Replace GetTxid() with GetHash() after rebase on latest.

This commit is contained in:
Simon
2016-09-07 15:11:17 -07:00
parent 33264f5b46
commit fa511e1084
2 changed files with 15 additions and 15 deletions

View File

@@ -621,7 +621,7 @@ void CWallet::IncrementNoteWitnesses(const CBlockIndex* pindex,
}
for (const CTransaction& tx : pblock->vtx) {
auto hash = tx.GetTxid();
auto hash = tx.GetHash();
bool txIsOurs = mapWallet.count(hash);
for (size_t i = 0; i < tx.vjoinsplit.size(); i++) {
const JSDescription& jsdesc = tx.vjoinsplit[i];
@@ -1039,7 +1039,7 @@ void CWallet::EraseFromWallet(const uint256 &hash)
mapNoteData_t CWallet::FindMyNotes(const CTransaction& tx) const
{
LOCK(cs_SpendingKeyStore);
uint256 hash = tx.GetTxid();
uint256 hash = tx.GetHash();
mapNoteData_t noteData;
libzcash::SpendingKey key;