This commit is contained in:
Daniel Lugo 2020-04-03 16:05:12 -04:00
parent e6b1ca2186
commit 1c3520f785

View file

@ -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
)