vulpemventures / go-elements

Go support for Liquid/Elements transactions
MIT License
29 stars 13 forks source link

Wrong hash returned for issuance tx #169

Closed altafan closed 3 years ago

altafan commented 3 years ago

[Here]() you can find an example of a transaction containing an issuance that I was able to broadcast on regtest with hash 4f2560d018b2600399ad960284f5d13f02a978de8673c8950bf8f9cd265ec1a6.

The method Transaction.TxHash() returns 16a2d64e1e9d0fb233169a4d08a222a0562895bd3cbbe1783c66aeadd5320f26 instead.

The bug hasn't been identified yet, but it could reside somewhere here where the input issuance is serialized.

tiero commented 3 years ago

Has this been closed? @sekulicd

sekulicd commented 3 years ago

Has this been closed? @sekulicd

I think so, https://github.com/vulpemventures/go-elements/pull/171