Files
app-ethereum/src_features/getEth2PublicKey/logic_getEth2PublicKey.c
2022-03-09 15:23:53 +01:00

14 lines
261 B
C

#ifdef HAVE_ETH2
#include <string.h>
#include "shared_context.h"
uint32_t set_result_get_eth2_publicKey() {
uint32_t tx = 0;
memmove(G_io_apdu_buffer + tx, tmpCtx.publicKeyContext.publicKey.W, 48);
tx += 48;
return tx;
}
#endif // HAVE_ETH2