Fix reversed z->t and t->z detection
This commit is contained in:
@@ -1433,9 +1433,9 @@ bool CheckTransactionWithoutProofVerification(uint32_t tiptime,const CTransactio
|
|||||||
if ( joinsplit.vpub_new == 0 && joinsplit.vpub_old == 0 )
|
if ( joinsplit.vpub_new == 0 && joinsplit.vpub_old == 0 )
|
||||||
z_z++;
|
z_z++;
|
||||||
else if ( joinsplit.vpub_new == 0 && joinsplit.vpub_old != 0 )
|
else if ( joinsplit.vpub_new == 0 && joinsplit.vpub_old != 0 )
|
||||||
z_t++;
|
|
||||||
else if ( joinsplit.vpub_new != 0 && joinsplit.vpub_old == 0 )
|
|
||||||
t_z++;
|
t_z++;
|
||||||
|
else if ( joinsplit.vpub_new != 0 && joinsplit.vpub_old == 0 )
|
||||||
|
z_t++;
|
||||||
}
|
}
|
||||||
if ( ASSETCHAINS_PRIVATE != 0 && invalid_private_taddr != 0 )
|
if ( ASSETCHAINS_PRIVATE != 0 && invalid_private_taddr != 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user