Function Channel.onRequestSettleSig

Called when the counter-party requests a settlement signature. If the sequence ID is unrecognized, it will return an error code.

Result!(agora.script.Signature.SigPair) onRequestSettleSig (
  in const(uint) seq_id
);

Parameters

NameDescription
seq_id the sequence ID.

Returns

the settlement signature, or an error code with an optional error message.