setavenger / blindbit-oracle

A GO implementation for a BIP0352 Silent Payments Indexing Server
6 stars 6 forks source link

Invalid public key (zero) crashing oracle #16

Closed ottosch closed 3 months ago

ottosch commented 3 months ago

Transaction d73f4a19f3973e90af6df62e735bb7b31f3d5ab8e7e26e7950651b436d093313 is crashing the server on tweak.go, sumPublicKeys, due to paying to pubkey zero.

Edit: the input pubkeys have the same X, but opposite Y. Don't know if this could be the cause instead.

setavenger commented 3 months ago

Thanks for raising this. This transaction has led to a bit of trouble for other indexers as well. The issue is probably that the two inputs sum up to zero https://github.com/bitcoin/bitcoin/pull/28241#discussion_r1623063336

setavenger commented 3 months ago

should be fixed