From 742e5257c25752967cdc044264387fe1e9b0538d Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Sat, 19 Jul 2025 16:47:52 +0300 Subject: [PATCH] Fix type annotation for get_merkle_root to accept Account instead of Balance --- src/demo/amm_demo/demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demo/amm_demo/demo.py b/src/demo/amm_demo/demo.py index 3f2b8bba..37136fca 100644 --- a/src/demo/amm_demo/demo.py +++ b/src/demo/amm_demo/demo.py @@ -213,7 +213,7 @@ def send_transaction(w3: Web3, transaction, sender_account: BaseAccount): return receipt -def get_merkle_root(accounts: Dict[int, Balance]) -> int: +def get_merkle_root(accounts: Dict[int, Account]) -> int: """ Returns the merkle root given accounts state.