From dcacda44c10487e86a85c8146121a66b849bde4b Mon Sep 17 00:00:00 2001 From: pscott Date: Sat, 24 Apr 2021 12:04:41 +0200 Subject: [PATCH] Revert changes to seteth2withdrawalindex --- .../setEth2WithdrawalIndex/cmd_setEth2WithdrawalIndex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src_features/setEth2WithdrawalIndex/cmd_setEth2WithdrawalIndex.c b/src_features/setEth2WithdrawalIndex/cmd_setEth2WithdrawalIndex.c index c60631d..ea99f03 100644 --- a/src_features/setEth2WithdrawalIndex/cmd_setEth2WithdrawalIndex.c +++ b/src_features/setEth2WithdrawalIndex/cmd_setEth2WithdrawalIndex.c @@ -2,7 +2,6 @@ #include "shared_context.h" #include "apdu_constants.h" -#include "withdrawal_index.h" void handleSetEth2WithdrawalIndex(uint8_t p1, uint8_t p2, @@ -18,6 +17,8 @@ void handleSetEth2WithdrawalIndex(uint8_t p1, THROW(0x6B00); } + eth2WithdrawalIndex = U4BE(dataBuffer, 0); + THROW(0x9000); }