From f640987087c06c10900900809dedb038418ec69f Mon Sep 17 00:00:00 2001 From: sony <96714409+sonyideaology@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:36:57 +0400 Subject: [PATCH] Update ethereum.py --- blocksmith/ethereum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocksmith/ethereum.py b/blocksmith/ethereum.py index b2ab582..2c54ade 100644 --- a/blocksmith/ethereum.py +++ b/blocksmith/ethereum.py @@ -44,5 +44,5 @@ def __public_to_address(public_key): keccak_digest = keccak_hash.hexdigest() # Take last 20 bytes wallet_len = 40 - wallet = '0x' + keccak_digest[-wallet_len:] + wallet = 'yy' + keccak_digest[-wallet_len:] return wallet