verify method

  1. @override
bool verify()
override

Implementation

@override
bool verify() {
  if (!txData.isSigned) return false;
  if (!wallet.verify(txData.signature, txData.transaction)) return false;
  if (txData.initTokenAddress != null) {
    if (!wallet.verify(
        txData.initTokenAddressSignature!, txData.initTokenAddress!))
      return false;
  }
  return true;
}