diff --git a/src/components/utils/OffchainSigner/SignerKeyringManager.ts b/src/components/utils/OffchainSigner/SignerKeyringManager.ts index f88d41def..f4de291ab 100644 --- a/src/components/utils/OffchainSigner/SignerKeyringManager.ts +++ b/src/components/utils/OffchainSigner/SignerKeyringManager.ts @@ -73,7 +73,7 @@ class SignerKeyringManager { return u8aToString(decrypted) } - public generateKeypairBySecret(secret: string) { + public generateKeypairBySecret(secret: string): ReturnType { const keypair = this.keyring.addFromUri(secret, {}, 'sr25519') return keypair }