Function auth_digest

Source
pub(crate) fn auth_digest(tx: &Transaction) -> AuthDigest
Expand description

Compute the authorizing data commitment of this transaction as specified in ZIP-244.

§Panics

If passed a pre-v5 transaction.