From 0972bedc49f412c56db79e6cb158e6f58cf5bb32 Mon Sep 17 00:00:00 2001 From: DSeeLP <46624152+DSeeLP@users.noreply.github.com> Date: Mon, 7 Apr 2025 16:34:15 +0200 Subject: [PATCH] fix amount used by interop pay endpoint --- src/api/interop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/interop.rs b/src/api/interop.rs index 7000db4..5262bc7 100644 --- a/src/api/interop.rs +++ b/src/api/interop.rs @@ -89,7 +89,7 @@ async fn interop_pay( let Some((user, account)) = target.account_id(&mut client).await? else { return Ok(StatusCode::NOT_FOUND); }; - let (_, notification) = TransactionBuilder::new(&mut client, body.amount) + let (_, notification) = TransactionBuilder::new(&mut client, body.amount * 100) .await? .interop_receive(account, body.from, None) .await?;