From 114b954c74ab5f68b18734d4170fa731dd9eace6 Mon Sep 17 00:00:00 2001 From: Nattharat Wiriyakulnan Date: Thu, 17 Sep 2020 10:51:44 +0700 Subject: [PATCH] fix typo --- go-owasm/api/error.go | 2 +- owasm/src/core/error.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go-owasm/api/error.go b/go-owasm/api/error.go index 7a5cd50bd2..a6db3cd6ab 100644 --- a/go-owasm/api/error.go +++ b/go-owasm/api/error.go @@ -19,7 +19,7 @@ var ( ErrInstantiation = errors.New("error while instantiating Wasm with resolvers") ErrRuntime = errors.New("runtime error while executing the Wasm script") ErrOutOfGas = errors.New("out-of-gas while executing the wasm script") - ErrBadEntrySignature = errors.New("bad execution entry point sigature") + ErrBadEntrySignature = errors.New("bad execution entry point signature") ErrMemoryOutOfBound = errors.New("out-of-bound memory access while executing the wasm script") ErrWrongPeriodAction = errors.New("OEI action to invoke is not available") ErrTooManyExternalData = errors.New("too many external data requests") diff --git a/owasm/src/core/error.rs b/owasm/src/core/error.rs index 80b01baf4d..df9835def3 100644 --- a/owasm/src/core/error.rs +++ b/owasm/src/core/error.rs @@ -17,7 +17,7 @@ pub enum Error { InstantiationError = 10, // Error while instantiating Wasm with resolvers. RuntimeError = 11, // Runtime error while executing the Wasm script. OutOfGasError = 12, // Out-of-gas while executing the Wasm script. - BadEntrySignatureError = 13, // Bad execution entry point sigature. + BadEntrySignatureError = 13, // Bad execution entry point signature. MemoryOutOfBoundError = 14, // Out-of-bound memory access while executing the wasm script // Host-generated errors while interacting with OEI. WrongPeriodActionError = 128, // OEI action to invoke is not available.