Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -740,12 +740,12 @@ fn get_sdk_messages_from_sign_bytes(
);

// Always starts with '\x19Ethereum Signed Message:\n\d+{'
// So we need to find the first occurance of '{' and go from there until the end
// So we need to find the first occurrence of '{' and go from there until the end
let start_index = match sign_bytes_as_string.find('{') {
Some(start_index) => start_index,
None => {
warn!(
"SIGN_MODE_EIP_191 failed to find first occurance of '{{' in '{}'",
"SIGN_MODE_EIP_191 failed to find first occurrence of '{{' in '{}'",
sign_bytes_as_string
);
return Err(EnclaveError::FailedTxVerification);
Expand Down
2 changes: 1 addition & 1 deletion x/compute/internal/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var (
KeyLastInstanceID = append(SequenceKeyPrefix, []byte("lastContractId")...)
)

// GetCodeKey constructs the key for retreiving the ID for the WASM code
// GetCodeKey constructs the key for retrieving the ID for the WASM code
func GetCodeKey(codeID uint64) []byte {
contractIDBz := sdk.Uint64ToBigEndian(codeID)
return append(CodeKeyPrefix, contractIDBz...)
Expand Down
Loading