java.lang.ClassCastException: class sigmastate.utils.Helpers$EitherOps cannot be cast to class scala.util.Either (sigmastate.utils.Helpers$EitherOps and scala.util.Either are in unnamed module of loader 'app')
instead of throwing NotEnoughCoinsForChangeException. This PR fixes this and adds the missing test case.
Changes in #202 could end up in
instead of throwing NotEnoughCoinsForChangeException. This PR fixes this and adds the missing test case.