@@ -17,7 +17,7 @@ use penumbra_sdk_sct::{
1717use penumbra_sdk_shielded_pool:: {
1818 component:: ShieldedPool , Note , SpendPlan , SpendProof , SpendProofPrivate , SpendProofPublic ,
1919} ;
20- use penumbra_sdk_txhash:: { EffectHash , TransactionContext } ;
20+ use penumbra_sdk_txhash:: { EffectHash , TransactionContext , TransactionId } ;
2121use rand_core:: { OsRng , SeedableRng } ;
2222use std:: { ops:: Deref , sync:: Arc } ;
2323use tendermint:: abci;
@@ -65,7 +65,7 @@ async fn spend_happy_path() -> anyhow::Result<()> {
6565 let transaction_context = TransactionContext {
6666 anchor : root,
6767 effect_hash : EffectHash ( dummy_effect_hash) ,
68- transaction_id : [ 0 ; 32 ] ,
68+ transaction_id : TransactionId ( [ 0 ; 32 ] ) ,
6969 } ;
7070
7171 // 3. Simulate execution of the Spend action
@@ -190,7 +190,7 @@ async fn invalid_dummy_spend() {
190190 let transaction_context = TransactionContext {
191191 anchor : root,
192192 effect_hash : EffectHash ( dummy_effect_hash) ,
193- transaction_id : [ 0 ; 32 ] ,
193+ transaction_id : TransactionId ( [ 0 ; 32 ] ) ,
194194 } ;
195195
196196 // 3. Simulate execution of the Spend action
0 commit comments