Function Channel.onRequestUpdateSig

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

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

Parameters

NameDescription
seq_id the sequence ID.

Returns

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