From dd443bad2c91b2d9b76cee4cfef07b3c4b5d56ba Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 24 Nov 2018 06:46:58 -1100 Subject: [PATCH] Fix reversed z->t and t->z detection --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5b01fbca4..cf29c34ac 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1433,9 +1433,9 @@ bool CheckTransactionWithoutProofVerification(uint32_t tiptime,const CTransactio if ( joinsplit.vpub_new == 0 && joinsplit.vpub_old == 0 ) z_z++; else if ( joinsplit.vpub_new == 0 && joinsplit.vpub_old != 0 ) - z_t++; - else if ( joinsplit.vpub_new != 0 && joinsplit.vpub_old == 0 ) t_z++; + else if ( joinsplit.vpub_new != 0 && joinsplit.vpub_old == 0 ) + z_t++; } if ( ASSETCHAINS_PRIVATE != 0 && invalid_private_taddr != 0 ) {