fix dev after test merges
@@ -94,7 +94,7 @@ fn chain_balance_validation() {
let consensus_manager = ConsensusManagerBuilder::new(Network::Weatherwax).build();
let genesis = consensus_manager.get_genesis_block();
let faucet_value = 5000 * uT;
- let (faucet_utxo, faucet_key, _) = create_utxo(faucet_value, &factories, None, &script!(Nop));
+ let (faucet_utxo, faucet_key, _) = create_utxo(faucet_value, &factories, OutputFeatures::default(), &script!(Nop));
let (pk, sig) = create_random_signature_from_s_key(faucet_key, 0.into(), 0);
let excess = Commitment::from_public_key(&pk);
let kernel = TransactionKernel {
@@ -143,7 +143,7 @@ fn chain_balance_validation() {
let (coinbase, coinbase_key, _) = create_utxo(
coinbase_value,
&factories,
- Some(OutputFeatures::create_coinbase(1)),
+ OutputFeatures::create_coinbase(1),
&script!(Nop),
);
// let _coinbase_hash = coinbase.hash();
@@ -191,7 +191,7 @@ fn chain_balance_validation() {
let mut txn = DbTransaction::new();
let v = consensus_manager.get_block_reward_at(2) + uT;
- let (coinbase, key, _) = create_utxo(v, &factories, Some(OutputFeatures::create_coinbase(1)), &script!(Nop));
+ let (coinbase, key, _) = create_utxo(v, &factories, OutputFeatures::create_coinbase(1), &script!(Nop));
let (pk, sig) = create_random_signature_from_s_key(key, 0.into(), 0);
let excess = Commitment::from_public_key(&pk);
let kernel = KernelBuilder::new()
