Browse Source
Merge pull request #728 from mrfelton/fix/long-as-number
fix(grpc): use Numbers to represent long values
renovate/lint-staged-8.x
JimmyMow
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
app/lib/lnd/lightning.js
-
app/lib/lnd/walletUnlocker.js
|
|
@ -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 |
|
|
|
|
|
@ -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 |
|
|
|