Skip to content

Commit

Permalink
Merge pull request #31 from RadarTech/bump-version-v0.6
Browse files Browse the repository at this point in the history
Bump version 0.6
  • Loading branch information
cavanmflynn authored Apr 17, 2019
2 parents bea8e2a + 71ced42 commit 3df163f
Show file tree
Hide file tree
Showing 5 changed files with 1,260 additions and 62 deletions.
8 changes: 7 additions & 1 deletion lib/lightning.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ const DEFAULTS = {
'subscribeInvoices',
'subscribeTransactions',
'subscribeChannelGraph',
'subscribeChannelEvents',
'subscribeChannelBackups',
'sendToRoute',
'sendPayment',
'openChannel',
'closeChannel',
Expand Down Expand Up @@ -41,7 +44,10 @@ module.exports = function createLightningProxy(
let lightning;

try {
lightning = new lnrpcDescriptor.lnrpc.Lightning(server, credentials);
lightning = new lnrpcDescriptor.lnrpc.Lightning(server, credentials, {
// Increase max receive message size for describegraph
'grpc.max_receive_message_length': 50 * 1024 * 1024,
});
} catch (e) {
if (!e.code) e.code = 'GRPC_LIGHTNING_SERVICE_ERR';
throw e;
Expand Down
Loading

0 comments on commit 3df163f

Please sign in to comment.