@@ -16,7 +16,7 @@ use zebra_chain::{
1616 sapling,
1717 serialization:: AtLeastOne ,
1818 sprout,
19- transaction:: { self , JoinSplitData , Transaction , UnminedTxId , VerifiedUnminedTx } ,
19+ transaction:: { self , JoinSplitData , SigHash , Transaction , UnminedTxId , VerifiedUnminedTx } ,
2020 transparent, LedgerState ,
2121} ;
2222
@@ -490,13 +490,15 @@ impl SpendConflictTestInput {
490490 // make sure miner fee is big enough for all cases
491491 Amount :: try_from ( 1_000_000 ) . expect ( "valid amount" ) ,
492492 0 ,
493+ SigHash ( [ 0 ; 32 ] ) ,
493494 )
494495 . expect ( "verification should pass" ) ,
495496 VerifiedUnminedTx :: new (
496497 second. 0 . into ( ) ,
497498 // make sure miner fee is big enough for all cases
498499 Amount :: try_from ( 1_000_000 ) . expect ( "valid amount" ) ,
499500 0 ,
501+ SigHash ( [ 0 ; 32 ] ) ,
500502 )
501503 . expect ( "verification should pass" ) ,
502504 )
@@ -523,13 +525,15 @@ impl SpendConflictTestInput {
523525 // make sure miner fee is big enough for all cases
524526 Amount :: try_from ( 1_000_000 ) . expect ( "valid amount" ) ,
525527 0 ,
528+ SigHash ( [ 0 ; 32 ] ) ,
526529 )
527530 . expect ( "verification should pass" ) ,
528531 VerifiedUnminedTx :: new (
529532 second. 0 . into ( ) ,
530533 // make sure miner fee is big enough for all cases
531534 Amount :: try_from ( 1_000_000 ) . expect ( "valid amount" ) ,
532535 0 ,
536+ SigHash ( [ 0 ; 32 ] ) ,
533537 )
534538 . expect ( "verification should pass" ) ,
535539 )
@@ -966,7 +970,10 @@ impl OrchardSpendConflict {
966970 ///
967971 /// The transaction will then conflict with any other transaction with the same new nullifier.
968972 // TODO: Consider adding support of OrchardZSA.
969- pub fn apply_to ( self , orchard_shielded_data : & mut Option < orchard:: ShieldedData < orchard:: OrchardVanilla > > ) {
973+ pub fn apply_to (
974+ self ,
975+ orchard_shielded_data : & mut Option < orchard:: ShieldedData < orchard:: OrchardVanilla > > ,
976+ ) {
970977 if let Some ( shielded_data) = orchard_shielded_data. as_mut ( ) {
971978 shielded_data
972979 . actions
0 commit comments