diff --git a/src/main.cpp b/src/main.cpp index 2c0722c5b..607b94ba4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1441,7 +1441,7 @@ bool CheckTransactionWithoutProofVerification(uint32_t tiptime,const CTransactio if ( ASSETCHAINS_PRIVATE != 0 && invalid_private_taddr != 0 ) { fprintf(stderr,"found taddr in private chain: z_z.%d z_t.%d t_z.%d\n",z_z,z_t,t_z); - if ( z_t == 0 || z_z != 0 || t_z != 0 || tx.vins.size() != 0 ) + if ( z_t == 0 || z_z != 0 || t_z != 0 || tx.vin.size() != 0 ) return state.DoS(100, error("CheckTransaction(): this is a private chain, only sprout -> taddr allowed until deadline"),REJECT_INVALID, "bad-txns-acprivacy-chain"); } if ( ASSETCHAINS_TXPOW != 0 )