Skip to main content

fake_v6_transaction

Function fake_v6_transaction 

Source
pub fn fake_v6_transaction(
    network_upgrade: NetworkUpgrade,
    orchard_bundle: Option<Bundle<Authorized, ZatBalance>>,
    ironwood_bundle: Option<Bundle<Authorized, ZatBalance>>,
) -> Transaction
Expand description

Builds a V6 transaction carrying the given Orchard and Ironwood bundles.

This is the constructor the v6 wire-format vector tests use: it takes bundles built by fake_orchard_bundle and puts them in the two v6 Orchard-shaped slots.