Update ethereum plugin-sdk
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
#include "uint_common.h"
|
||||
|
||||
void prepare_eth2_public_key() {
|
||||
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);
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
|
||||
@@ -4,17 +4,17 @@
|
||||
#include "uint_common.h"
|
||||
|
||||
void prepare_domain_hash_v0() {
|
||||
bytes_to_string(strings.tmp.tmp,
|
||||
sizeof(strings.tmp.tmp),
|
||||
tmpCtx.messageSigningContext712.domainHash,
|
||||
KECCAK256_HASH_BYTESIZE);
|
||||
array_bytes_string(strings.tmp.tmp,
|
||||
sizeof(strings.tmp.tmp),
|
||||
tmpCtx.messageSigningContext712.domainHash,
|
||||
KECCAK256_HASH_BYTESIZE);
|
||||
}
|
||||
|
||||
void prepare_message_hash_v0() {
|
||||
bytes_to_string(strings.tmp.tmp,
|
||||
sizeof(strings.tmp.tmp),
|
||||
tmpCtx.messageSigningContext712.messageHash,
|
||||
KECCAK256_HASH_BYTESIZE);
|
||||
array_bytes_string(strings.tmp.tmp,
|
||||
sizeof(strings.tmp.tmp),
|
||||
tmpCtx.messageSigningContext712.messageHash,
|
||||
KECCAK256_HASH_BYTESIZE);
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
|
||||
Reference in New Issue
Block a user