skycoin / teller

Skycoin exchange service
15 stars 30 forks source link

RawTx vs Tx len check is invalid #164

Closed gz-c closed 6 years ago

gz-c commented 6 years ago

If Tx is empty, RawTx should not be empty If RawTx is empty, Tx should not be empty

RawTx is not empty when txindex=1 in btcd settings.

Do not compare len(Tx) != len(RawTx), check len(RawTx) != 0 to confirm txindex=1 is set

gz-c commented 6 years ago

165