Update ethereum plugin-sdk
This commit is contained in:
@@ -21,10 +21,10 @@ static void reviewChoice(bool confirm) {
|
||||
}
|
||||
|
||||
void ui_display_public_eth2(void) {
|
||||
bytes_to_string(strings.tmp.tmp,
|
||||
sizeof(strings.tmp.tmp),
|
||||
tmpCtx.publicKeyContext.publicKey.W,
|
||||
48);
|
||||
array_bytes_string(strings.tmp.tmp,
|
||||
sizeof(strings.tmp.tmp),
|
||||
tmpCtx.publicKeyContext.publicKey.W,
|
||||
48);
|
||||
strlcpy(g_stax_shared_buffer, "Verify ETH2\naddress", sizeof(g_stax_shared_buffer));
|
||||
nbgl_useCaseAddressReview(strings.tmp.tmp,
|
||||
NULL,
|
||||
|
||||
@@ -18,7 +18,7 @@ static void messageReviewChoice_cb(bool confirm) {
|
||||
}
|
||||
|
||||
static char *format_hash(const uint8_t *hash, char *buffer, size_t buffer_size, size_t offset) {
|
||||
bytes_to_string(buffer + offset, buffer_size - offset, hash, KECCAK256_HASH_BYTESIZE);
|
||||
array_bytes_string(buffer + offset, buffer_size - offset, hash, KECCAK256_HASH_BYTESIZE);
|
||||
return buffer + offset;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user