Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

fix(grpc): use Numbers to represent long values #728

Merged
merged 1 commit into from
Aug 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/lib/lnd/lightning.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Lightning {
// See https://github.com/grpc/grpc-node/blob/master/packages/grpc-protobufjs/README.md
const options = {
keepCase: true,
longs: String,
longs: Number,
enums: String,
defaults: true,
oneofs: true
Expand Down
2 changes: 1 addition & 1 deletion app/lib/lnd/walletUnlocker.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const walletUnlocker = lndConfig => {
// See https://github.com/grpc/grpc-node/blob/master/packages/grpc-protobufjs/README.md
const options = {
keepCase: true,
longs: String,
longs: Number,
enums: String,
defaults: true,
oneofs: true
Expand Down