From 1c3520f7850814a6926bf9ec33bfbe35d7c16e57 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Fri, 3 Apr 2020 16:05:12 -0400 Subject: [PATCH] typo --- 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 7f758808..aef38070 100644 --- a/services/gunDB/contact-api/actions.js +++ b/services/gunDB/contact-api/actions.js @@ -1073,7 +1073,7 @@ const sendPayment = async (to, amount, memo) => { if (Utils.successfulHandshakeAlreadyExists(to)) { await sendMessage( to, - encodeSpontaneousPayment(to, memo || 'no memo', preimage), + encodeSpontaneousPayment(amount, memo || 'no memo', preimage), require('../Mediator').getUser(), require('../Mediator').mySEA )