From 92882f68f409c13d58e7c41688881c119fc07206 Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 2 Jun 2022 01:28:33 +0800 Subject: [PATCH] max: add borrow and repay todo --- pkg/exchange/max/exchange.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/exchange/max/exchange.go b/pkg/exchange/max/exchange.go index d84245c53..a39e9c22a 100644 --- a/pkg/exchange/max/exchange.go +++ b/pkg/exchange/max/exchange.go @@ -606,7 +606,7 @@ func (e *Exchange) QueryAccountBalances(ctx context.Context) (types.BalanceMap, Available: b.Balance, Locked: b.Locked, NetAsset: b.Balance.Add(b.Locked), - Borrowed: b.Debt, + Borrowed: b.Debt, // TODO: Replace this with borrow in the newer version Interest: b.Interest, } }