Open HarryR opened 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.
BobWithdraw
When the VerifyEvent line from BobWithdraw is commented out everything works as expected.
VerifyEvent
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 fromBobWithdraw
is commented out everything works as expected.