Closed instagibbs closed 1 year ago
@achow101 would appreciate an eyeball to see if this is on the right track
I think that's unneeded as per "psbt_set_global_tx" which sets those. Waiting on a set of test round trip vectors from jon before continuing :+1:
@instagibbs see https://github.com/ElementsProject/libwally-core/commit/8af7892ad069acfb77dfb9ed2119643dc83b9ca1 for an example test
Wrote up some more tests in https://github.com/instagibbs/libwally-core/commit/05ec12c1cf36f18307610ce45202dabddd826c81
@jgriffiths I can push a fix for the global tx issue and more tests in this PR if you like?
closing as #364 implemented all changes
Not tested. Needed for CLN upstream since our plan is to handle all PSBTs internally as V2, then export as V0 as required.