From 5127adbb54b7db6eccf27cc4e498d9dfcdb7a7a4 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 10 Oct 2024 18:43:54 +0000 Subject: fix internal payments id --- lib/payments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/payments.ts') diff --git a/lib/payments.ts b/lib/payments.ts index 65b185a5..705245e8 100644 --- a/lib/payments.ts +++ b/lib/payments.ts @@ -562,7 +562,7 @@ export let sendInternal = async ({ let memo; let p = await debit({ hash, amount, memo, user: sender }); - await credit({ hash, amount, memo, ref: recipient.id }); + await credit({ hash, amount, memo, ref: sender.id }); return p; }; -- cgit v1.2.3