Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Commit ea55e23

Browse files
Merge pull request #65 from BalancerMaxis/fix-prop-hash
use replace instead of lstrip
2 parents 19999ae + 01f6bc4 commit ea55e23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fee_allocator/fee_allocator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def generate_bribe_payload(
349349
def _get_prop_hash(platform: str, target: str) -> str:
350350
if platform == "balancer":
351351
prop = Web3.solidity_keccak(["address"], [Web3.to_checksum_address(target)])
352-
return f"0x{prop.hex().lstrip('0x')}"
352+
return f"0x{prop.hex().replace('0x', '')}"
353353
if platform == "aura":
354354
return get_hh_aura_target(target)
355355
raise ValueError(f"platform {platform} not supported")

0 commit comments

Comments
 (0)