From 9e3b35224488fb247328ce11ce30326e8930fa3a Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Tue, 9 Sep 2025 11:27:05 +0000 Subject: [PATCH] proto.eth.contract: critical Parity RPC bugfix --- mmgen/proto/eth/contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmgen/proto/eth/contract.py b/mmgen/proto/eth/contract.py index c558afa5..10938563 100755 --- a/mmgen/proto/eth/contract.py +++ b/mmgen/proto/eth/contract.py @@ -68,7 +68,7 @@ class Contract: args = { 'to': '0x' + self.addr, - 'input': '0x' + data} + ('data' if self.rpc.daemon.id == 'parity' else 'input'): '0x' + data} if from_addr: args['from'] = '0x' + from_addr