Skip to main content

approved_payload

Function approved_payload 

Source
pub(crate) fn approved_payload<N: Network>(
    deployment: &ScriptSequence<N>,
    index: usize,
) -> Result<Option<(Bytes, TxHash)>>
Expand description

Returns the payload of operation index of deployment signed with its owners’ approvals, and its hash, when it was saved for its owners. The signature is rebuilt from the saved approvals, as combine_approvals selects them the same way every time.