Skip to content

Commit 7957600

Browse files
committed
fixup: for staking
1 parent e3892e2 commit 7957600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

divi/src/PoSTransactionCreator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ bool PoSTransactionCreator::FindHashproof(
190190
nBits,
191191
static_cast<unsigned>(it->second->GetBlockTime()),
192192
it->second->GetBlockHash(),
193-
COutPoint(stakeData.tx->GetHash(), stakeData.outputIndex),
193+
COutPoint(wallet_.GetUtxoHash(*stakeData.tx), stakeData.outputIndex),
194194
stakeData.tx->vout[stakeData.outputIndex].nValue,
195195
chainTip->GetBlockHash());
196196
HashproofCreationResult hashproofResult = proofGenerator_.CreateHashproofTimestamp(stakingData,nTxNewTime);

0 commit comments

Comments
 (0)