fix: add funds to message when depositing from wallet (#65)
This commit is contained in:
parent
c4f8f4eab0
commit
4527423a50
@ -60,6 +60,15 @@ const useTradeAsset = (
|
||||
await creditManagerClient?.updateCreditAccount(
|
||||
{ accountId: selectedAccount, actions },
|
||||
hardcodedFee,
|
||||
undefined,
|
||||
depositAmount > 0
|
||||
? [
|
||||
{
|
||||
denom: tokenIn,
|
||||
amount: String(depositAmount),
|
||||
},
|
||||
]
|
||||
: undefined,
|
||||
),
|
||||
{
|
||||
onSettled: () => {
|
||||
|
Loading…
Reference in New Issue
Block a user