Closed penglipeng666 closed 4 months ago
What's the error you get when you don't change bobScriptKeyBytes
to logResp.Transfer.Outputs[0].ScriptKey
?
The two keys should be the exact same one, so either should work. I just tried it locally (make itest icase=trustless
) and it works with both keys.
I get it, I simulated "A-B-A" completely, so "func DeriveKeys" twice. sorry to bother you. But for a complete "swap", you should transfer "logResp.Transfer.Outputs[0].Anchor.Outpoint". thank you
I try to be independent "testPsbtTrustlessSwap ", However, there was a problem with the parameter in the following place, and the proof file could not be queried. Finally, I found that there seemed to be a problem with the parameter:
I changed "bobScriptKeyBytes" to "logResp.Transfer.Outputs[0].ScriptKey" and succeeded! Here is the query configuration file. Why is it "bobScriptKeyBytes"?