match method

  1. @override
bool match(
  1. ScriptOp other
)
override

Returns true when the other ScriptOp matches this one. ScriptPushDataMatcher will match with a push data of a particular size.

Implementation

@override
bool match(ScriptOp other) => other is ScriptOpCode && code == other.code;