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

Commit

Permalink
Merge pull request #728 from mrfelton/fix/long-as-number
Browse files Browse the repository at this point in the history
fix(grpc): use Numbers to represent long values
  • Loading branch information
JimmyMow committed Aug 30, 2018
2 parents 22451bf + 47b95a0 commit 1ba91f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 1ba91f1

Please sign in to comment.