Skip to main content

void_reason

Function void_reason 

Source
fn void_reason(
    entry: &AwaitingOwners,
    next_nonce: Option<u64>,
    latest: &impl BlockHeader,
) -> Result<Option<String>>
Expand description

Tells why a saved transaction can no longer be sent with its owners’ approvals: its account’s configuration or nonce, its deadline or the base fee changed on chain. next_nonce is the account’s next nonce, or None when its configuration changed, and latest the latest block, read after them.

The account’s planned nonces cannot change, so a spent nonce fails here.