isFullySignedOffchainMessageEnvelope function

bool isFullySignedOffchainMessageEnvelope(
  1. OffchainMessageEnvelope offchainMessage
)

Returns true if all signatures in the envelope are non-null.

Implementation

bool isFullySignedOffchainMessageEnvelope(
  OffchainMessageEnvelope offchainMessage,
) {
  return offchainMessage.signatures.values.every((sig) => sig != null);
}