mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
fixed collateral bug
This commit is contained in:
parent
573a535cff
commit
936da23d97
@ -442,7 +442,7 @@ bool CDarkSendPool::IsCollateralValid(const CTransaction& txCollateral){
|
||||
}
|
||||
|
||||
//collateral transactions are required to pay out DARKSEND_COLLATERAL as a fee to the miners
|
||||
if(nValueOut-nValueIn < DARKSEND_COLLATERAL) {
|
||||
if(nValueIn-nValueOut < DARKSEND_COLLATERAL) {
|
||||
if(fDebug) LogPrintf ("CDarkSendPool::IsCollateralValid - did not include enough fees in transaction %"PRI64d"\n%s\n", nValueOut-nValueIn, txCollateral.ToString().c_str());
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user