From 20b80bea1323ff3c1417300d2a81c70137d1ee1c Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Mon, 13 Jan 2020 18:57:50 -0400 Subject: [PATCH] encrypted strings must be populated --- services/gunDB/contact-api/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gunDB/contact-api/actions.js b/services/gunDB/contact-api/actions.js index c663f353..73db8fbc 100644 --- a/services/gunDB/contact-api/actions.js +++ b/services/gunDB/contact-api/actions.js @@ -857,7 +857,7 @@ const sendPayment = async (to, amount, memo, gun, user, SEA) => { const order = { amount: await SEA.encrypt(amount.toString(), ourSecret), from: user._.sea.pub, - memo: await SEA.encrypt(memo, ourSecret), + memo: await SEA.encrypt(memo || 'no memo', ourSecret), timestamp: Date.now() }