Fix signing legacy check

This commit is contained in:
jl777
2019-07-09 02:04:54 -11:00
parent 9a3cf79c37
commit 7e47549603
2 changed files with 3 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ bool NSPV_SignTx(CMutableTransaction &mtx,int32_t vini,int64_t utxovalue,const C
fprintf(stderr,"%02x",((uint8_t *)&scriptPubKey)[i]);
fprintf(stderr," scriptPubKey\n");
}
if ( nTime < KOMODO_SAPLING_ACTIVATION )
if ( nTime != 0 && nTime < KOMODO_SAPLING_ACTIVATION )
{
fprintf(stderr,"use legacy sig validation\n");
branchid = 0;