aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/payments.ts2
1 files changed, 1 insertions, 1 deletions
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;
};