HarryR / panautomata

Cross-chain proofs and atomic transactions
GNU General Public License v3.0
18 stars 2 forks source link

Example swap #25

Open HarryR opened 6 years ago

HarryR commented 6 years ago

This fixes most of the ExampleSwap contract and implements a client-side end-to-end test for the swap logic.

However, the BobWithdraw function doesn't accept the proof, and I've been unable to determine exactly why without further debugging.

When the VerifyEvent line from BobWithdraw is commented out everything works as expected.