Skip to content

Commit

Permalink
Update packages/hdwallet-keepkey/src/adapter.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Apotheosis <[email protected]>
  • Loading branch information
mrnerdhair and 0xApotheosis authored Mar 14, 2022
1 parent 4d21f79 commit d4e7c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hdwallet-keepkey/src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,6 @@ export class Adapter<DelegateType extends AdapterDelegate<any>> {

async pairRawDevice(device: DeviceType<DelegateType>, tryDebugLink?: boolean): Promise<KeepKeyHDWallet> {
await this.initialize([device], tryDebugLink, true);
return core.mustBeDefined(this.keyring.get((await this.inspectDevice(device)).serialNumber) as KeepKeyHDWallet);
return core.mustBeDefined(this.keyring.get<KeepKeyHDWallet>((await this.inspectDevice(device)).serialNumber));
}
}

0 comments on commit d4e7c19

Please sign in to comment.