Browse Source

amt||2

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
e5107dc630
  1. 4
      api/helpers.ts
  2. 4
      dist/api/helpers.js

4
api/helpers.ts

@ -100,7 +100,7 @@ const sendMessage = async (params) => {
const opts = {
dest: destkey,
data: JSON.stringify(finalMsg),
amt: amount || 1,
amt: amount || 2,
}
try {
const r = await keysendMessage(opts)
@ -121,7 +121,7 @@ const performKeysendMessage = async ({ destination_key, amount, msg, success, fa
const opts = {
dest: destination_key,
data: msg || JSON.stringify({}),
amt: amount || 1
amt: amount || 2
}
try {
const r = await keysendMessage(opts)

4
dist/api/helpers.js

@ -101,7 +101,7 @@ const sendMessage = (params) => __awaiter(void 0, void 0, void 0, function* () {
const opts = {
dest: destkey,
data: JSON.stringify(finalMsg),
amt: amount || 1,
amt: amount || 2,
};
try {
const r = yield lightning_1.keysendMessage(opts);
@ -126,7 +126,7 @@ const performKeysendMessage = ({ destination_key, amount, msg, success, failure
const opts = {
dest: destination_key,
data: msg || JSON.stringify({}),
amt: amount || 1
amt: amount || 2
};
try {
const r = yield lightning_1.keysendMessage(opts);

Loading…
Cancel
Save