fix amount used by interop pay endpoint

This commit is contained in:
DSeeLP 2025-04-07 16:34:15 +02:00
parent 0202985e22
commit 0972bedc49

View File

@ -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?;