From e63d55d68ac38c732facdddbbb5fd60731d1c67a Mon Sep 17 00:00:00 2001 From: baitcode Date: Mon, 14 Oct 2024 17:23:31 +0200 Subject: [PATCH] Minor codestyle fix --- packages/consensus/src/types/transaction.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/consensus/src/types/transaction.cairo b/packages/consensus/src/types/transaction.cairo index 28027fbd..0482c207 100644 --- a/packages/consensus/src/types/transaction.cairo +++ b/packages/consensus/src/types/transaction.cairo @@ -136,7 +136,7 @@ pub struct TxOut { impl TxOutHash, +Drop> of Hash { 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 } }