The signatures for verify are too narrow in each class like AbstractEd25519Sha256Fulfillment#verify. For example, if we have an Ed25519Sha256Fulfillment casted to a Fulfillment, and we want to call #verify with a different condition type that is not Ed25519Sha256Condition, we should simply get a result of false instead of a java.lang.ClassCastException. #
The signatures for
verify
are too narrow in each class likeAbstractEd25519Sha256Fulfillment#verify
. For example, if we have anEd25519Sha256Fulfillment
casted to aFulfillment
, and we want to call#verify
with a different condition type that is notEd25519Sha256Condition
, we should simply get a result offalse
instead of ajava.lang.ClassCastException
. #