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

Commit 34779f8

Browse files
committed
EcdsaRecoverFailed err docs updated
1 parent 41ba268 commit 34779f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frame/contracts/src/wasm/runtime.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ pub enum ReturnCode {
7171
/// The call dispatched by `seal_call_runtime` was executed but returned an error.
7272
#[cfg(feature = "unstable-interface")]
7373
CallRuntimeReturnedError = 10,
74-
/// ECDSA pubkey recovery failed. Most probably wrong recovery id or signature.
74+
/// ECDSA pubkey recovery failed (most probably wrong recovery id or signature), or
75+
/// ECDSA compressed pubkey conversion into Ethereum address failed (most probably
76+
/// wrong pubkey provided).
7577
#[cfg(feature = "unstable-interface")]
7678
EcdsaRecoverFailed = 11,
7779
}

0 commit comments

Comments
 (0)