Skip to main content

with_orchard_flags

Function with_orchard_flags 

Source
pub fn with_orchard_flags(tx: Transaction, flags: Flags) -> Transaction
Expand description

Returns a copy of tx whose Orchard bundle carries flags.

Panics if tx has no Orchard bundle, or if flags are not representable under the bundle’s version.