Skip to content

Commit

Permalink
Minor codestyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
baitcode committed Oct 14, 2024
1 parent c3901df commit e63d55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/consensus/src/types/transaction.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub struct TxOut {
impl TxOutHash<S, +HashStateTrait<S>, +Drop<S>> of Hash<TxOut, S> {
fn update_state(state: S, value: TxOut) -> S {
let state = state.update(value.value.into());
let state = Hash::update_state(state, value.pk_script);
let state = state.update_with(value.pk_script.into());
state
}
}
Expand Down

0 comments on commit e63d55d

Please sign in to comment.