mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-26 07:11:25 +00:00
Field "sender" is renamed to "from" in eosio ABI for un/delegatebw
This commit is contained in:
parent
597277725e
commit
e286bd46f9
@ -144,7 +144,7 @@ def parse_sell_ram(data):
|
||||
|
||||
def parse_delegate(data):
|
||||
return messages.EosActionDelegate(
|
||||
sender=name_to_number(data["sender"]),
|
||||
sender=name_to_number(data["from"]),
|
||||
receiver=name_to_number(data["receiver"]),
|
||||
net_quantity=parse_asset(data["stake_net_quantity"]),
|
||||
cpu_quantity=parse_asset(data["stake_cpu_quantity"]),
|
||||
@ -154,7 +154,7 @@ def parse_delegate(data):
|
||||
|
||||
def parse_undelegate(data):
|
||||
return messages.EosActionUndelegate(
|
||||
sender=name_to_number(data["sender"]),
|
||||
sender=name_to_number(data["from"]),
|
||||
receiver=name_to_number(data["receiver"]),
|
||||
net_quantity=parse_asset(data["unstake_net_quantity"]),
|
||||
cpu_quantity=parse_asset(data["unstake_cpu_quantity"]),
|
||||
|
Loading…
Reference in New Issue
Block a user