diff --git a/app/lib/lnd/lightning.js b/app/lib/lnd/lightning.js index 170a3816..7c24defd 100644 --- a/app/lib/lnd/lightning.js +++ b/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 diff --git a/app/lib/lnd/walletUnlocker.js b/app/lib/lnd/walletUnlocker.js index 537f3250..ae8b1979 100644 --- a/app/lib/lnd/walletUnlocker.js +++ b/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