Add ETH 2 deposit handling
This commit is contained in:
committed by
TamtamHero
parent
832294334f
commit
7e53de8897
13
src_features/getEth2PublicKey/logic_getEth2PublicKey.c
Normal file
13
src_features/getEth2PublicKey/logic_getEth2PublicKey.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifdef HAVE_ETH2
|
||||
|
||||
#include "shared_context.h"
|
||||
|
||||
uint32_t set_result_get_eth2_publicKey() {
|
||||
uint32_t tx = 0;
|
||||
os_memmove(G_io_apdu_buffer + tx, tmpCtx.publicKeyContext.publicKey.W, 48);
|
||||
tx += 48;
|
||||
return tx;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user