proto.eth.contract: critical Parity RPC bugfix
This commit is contained in:
parent
ab7a97842c
commit
9e3b352244
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue