Fix type uncertainty

This commit is contained in:
Will O'Beirne 2018-05-04 16:59:04 -04:00
parent fe5e1eb0c4
commit 34758d70a0
No known key found for this signature in database
GPG Key ID: 44C190DB5DEAF9F6
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ const Ledger: WalletLib = {
const res = await app.getAddress(dpath, false, true);
return {
publicKey: res.publicKey,
chainCode: res.chainCode
chainCode: res.chainCode as string
};
} catch (err) {
throw new Error('Failed to connect to Ledger');