Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Mar 7, 2024
1 parent bedf892 commit fe98ec1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class SignerKeyringManager {
return u8aToString(decrypted)
}

public generateKeypairBySecret(secret: string) {
public generateKeypairBySecret(secret: string): ReturnType<Keyring['addFromUri']> {
const keypair = this.keyring.addFromUri(secret, {}, 'sr25519')
return keypair
}
Expand Down

0 comments on commit fe98ec1

Please sign in to comment.