Fix typow == 0

This commit is contained in:
jl777
2018-12-10 09:44:50 -11:00
parent 5a1e12de88
commit 27606f3e0b

View File

@@ -1167,12 +1167,12 @@ UniValue signrawtransaction(const UniValue& params, bool fHelp)
if ( txConst.IsCoinBase() != 0 ) if ( txConst.IsCoinBase() != 0 )
{ {
if ( (txpow & 2) == 0 ) if ( (txpow & 2) == 0 )
txpow == 0; txpow = 0;
} }
else else
{ {
if ( (txpow & 1) == 0 ) if ( (txpow & 1) == 0 )
txpow == 0; txpow = 0;
} }
} }
while ( 1 ) while ( 1 )