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
parent
commit
1ba91f1c81
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/lib/lnd/lightning.js
  2. 2
      app/lib/lnd/walletUnlocker.js

2
app/lib/lnd/lightning.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

2
app/lib/lnd/walletUnlocker.js

@ -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

Loading…
Cancel
Save