vulpemventures / go-elements

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

[WIP]Non last blinding issue #212

Open sekulicd opened 1 year ago

sekulicd commented 1 year ago

This is result of investigation related to the issue of failing to broadcast tx if it is blinded cooperatively by two sides using BlindNonLast and BlindLast.

Real error is "SCRIPT_ERR_PEDERSEN_TALLY", found by debugging.

Although i did not find working fix i think that this commit fixes bug based on core elements, check in here

After I added this fix tx if failing cause invalid asset surjection proof.

@tiero @altafan