From e286bd46f9dac79ed59a91051ca9baa4e3e2ce08 Mon Sep 17 00:00:00 2001 From: EDmitry Date: Fri, 8 Nov 2019 18:17:16 -0800 Subject: [PATCH] Field "sender" is renamed to "from" in eosio ABI for un/delegatebw --- python/src/trezorlib/eos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/src/trezorlib/eos.py b/python/src/trezorlib/eos.py index 0a8f8791f1..61fdff1951 100644 --- a/python/src/trezorlib/eos.py +++ b/python/src/trezorlib/eos.py @@ -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"]),