Class: TrimmedSignatureError
Defined in: wallet-adapter/src/failure.ts:42 (opens in a new tab)
The wallet signed the message without its last line break, as Sparrow and Electrum's GUI do when they trim it, and only an auth challenge verifies that way.
ExtendsLink to this section
Error
ConstructorsLink to this section
ConstructorLink to this section
new TrimmedSignatureError(message?: string): TrimmedSignatureError;
Defined in: wallet-adapter/src/failure.ts:44 (opens in a new tab)
ParametersLink to this section
| Parameter | Type | Default |
|---|---|---|
message | string | Default "the wallet signed the message without its last line break" |
ReturnsLink to this section
TrimmedSignatureError
OverridesLink to this section
Error.constructor
PropertiesLink to this section
| Property | Type | Description | Defined in |
|---|---|---|---|
code | "E_TRIMMED_SIGNATURE" | Modifier readonly · Inherited from - | wallet-adapter/src/failure.ts:43 (opens in a new tab) |
message | string | Modifier public · Inherited from Error.message | node_modules/typescript/lib/lib.es5.d.ts:1077 |
name | string | Modifier public · Inherited from Error.name | node_modules/typescript/lib/lib.es5.d.ts:1076 |
stack? | string | Modifier public · Inherited from Error.stack | node_modules/typescript/lib/lib.es5.d.ts:1078 |