corda-training-template
corda-training-template copied to clipboard
Add test for settling partially paid iou
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