Browse Source

sig included in max_message_size calc

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
cb9b313cd3
  1. 2
      api/utils/lightning.ts
  2. 2
      dist/api/utils/lightning.js
  3. 2
      dist/api/utils/lightning.js.map

2
api/utils/lightning.ts

@ -133,7 +133,7 @@ const keysend = (opts) => {
})
}
const MAX_MSG_LENGTH = 868 // 1146 - 20 ??? - 104 for sig
const MAX_MSG_LENGTH = 972 // 1146 - 20 ???
async function keysendMessage(opts) {
return new Promise(async function(resolve, reject) {
if(!opts.data || typeof opts.data!=='string') {

2
dist/api/utils/lightning.js

@ -145,7 +145,7 @@ const keysend = (opts) => {
});
});
};
const MAX_MSG_LENGTH = 868; // 1146 - 20 ??? - 104 for sig
const MAX_MSG_LENGTH = 972; // 1146 - 20 ???
function keysendMessage(opts) {
return __awaiter(this, void 0, void 0, function* () {
return new Promise(function (resolve, reject) {

2
dist/api/utils/lightning.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save