Skip to content

Commit a845db0

Browse files
greedyboiSegfaultd
andauthored
[LUM-744] WebApp -> Investigate sdk v0.8.5 issue (#59)
* [Fixed] typeUrl error * Bump version --------- Co-authored-by: Segfault <5221072+Segfaultd@users.noreply.github.com>
1 parent a22ff71 commit a845db0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lum-network/sdk-javascript",
3-
"version": "0.8.6",
3+
"version": "0.8.7",
44
"license": "Apache-2.0",
55
"description": "Javascript SDK library for NodeJS and Web browsers to interact with the Lum Network.",
66
"homepage": "https://github.com/lum-network/sdk-javascript#readme",

src/utils/accounts.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ function uint64FromProto(input: Long) {
1515

1616
function accountFromBaseAccount(input: BaseAccount): LumTypes.Account {
1717
const { address, pubKey, accountNumber, sequence } = input;
18-
const pubkey = decodePubkey(pubKey as Any);
18+
const pubkey = pubKey ? decodePubkey(pubKey) : null;
19+
1920
return {
2021
address: address,
2122
pubkey: pubkey,

0 commit comments

Comments
 (0)