KomodoPlatform / zebra

An ongoing Rust implementation of a Komodo node. 🦓
Apache License 2.0
3 stars 5 forks source link

Fix difference in coinbase input check between komodo and zebra #60

Open dimxy opened 1 year ago

dimxy commented 1 year ago

Komodo C++ and Zebra differently check if a tx input is a coinbase input: Zebra checks that the input's sequence must equal to 0xFFFF_FFFF https://github.com/KomodoPlatform/zebra/blob/82b3e267f163f43d90ca8a2a9fab611cbe6f5797/zebra-chain/src/transparent/serialize.rs#L274 Apparently Komodo C++ does not do that

If above is true we should remove that zebra's check