Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
EcdsaRecoverFailed err docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
agryaznov committed Apr 11, 2022
1 parent 41ba268 commit 34779f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frame/contracts/src/wasm/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ pub enum ReturnCode {
/// The call dispatched by `seal_call_runtime` was executed but returned an error.
#[cfg(feature = "unstable-interface")]
CallRuntimeReturnedError = 10,
/// ECDSA pubkey recovery failed. Most probably wrong recovery id or signature.
/// ECDSA pubkey recovery failed (most probably wrong recovery id or signature), or
/// ECDSA compressed pubkey conversion into Ethereum address failed (most probably
/// wrong pubkey provided).
#[cfg(feature = "unstable-interface")]
EcdsaRecoverFailed = 11,
}
Expand Down

0 comments on commit 34779f8

Please sign in to comment.