corda-training-template icon indicating copy to clipboard operation
corda-training-template copied to clipboard

Add test for settling partially paid iou

Open arhamill opened this issue 5 years ago • 0 comments

We don't want an output IOU if the input is being fully settled. The comparison in this case should be against the outstanding amount of the IOU, not the total amount. Without this test the contract could only be performing this check against the total amount of the IOU and still passing all tests

I have confirmed this passes on the corda-training-solutions project

arhamill avatar Sep 05 '19 13:09 arhamill