diff options
| author | Adam Soltys <[email protected]> | 2024-10-10 18:43:54 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-10-10 19:16:56 +0000 |
| commit | 5127adbb54b7db6eccf27cc4e498d9dfcdb7a7a4 (patch) | |
| tree | e38dc6ab9dd436e9db5e90da58514e8951b873bc | |
| parent | 2555b00632cc6af7f0e7fa954804bd468c4146f0 (diff) | |
| download | coinos-server-5127adbb54b7db6eccf27cc4e498d9dfcdb7a7a4.tar.gz coinos-server-5127adbb54b7db6eccf27cc4e498d9dfcdb7a7a4.zip | |
fix internal payments id
| -rw-r--r-- | lib/payments.ts | 2 |
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; }; |
