From 73a7f7bb7c4c227b2996c1fa4e80c0ee29241537 Mon Sep 17 00:00:00 2001 From: Philemon Ukane Date: Tue, 19 Nov 2024 23:15:03 +0100 Subject: [PATCH] keep core.ActiveOrders Signed-off-by: Philemon Ukane --- libwallet/dex_interface.go | 1 + 1 file changed, 1 insertion(+) diff --git a/libwallet/dex_interface.go b/libwallet/dex_interface.go index a5432909d..800d94a70 100644 --- a/libwallet/dex_interface.go +++ b/libwallet/dex_interface.go @@ -30,6 +30,7 @@ type DEXClient interface { ExportSeed(pw []byte) (string, error) SyncBook(dex string, base, quote uint32) (*orderbook.OrderBook, core.BookFeed, error) Orders(filter *core.OrderFilter) ([]*core.Order, error) + ActiveOrders() (map[string][]*core.Order, map[string][]*core.InFlightOrder, error) Active() bool Trade(pw []byte, form *core.TradeForm) (*core.Order, error) // TradeAsync is like Trade but a temporary order is returned before order