aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
Diffstat (limited to 'dex')
-rw-r--r--dex/api_backend.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/dex/api_backend.go b/dex/api_backend.go
index 9929b062d..80fe1e39b 100644
--- a/dex/api_backend.go
+++ b/dex/api_backend.go
@@ -154,6 +154,10 @@ func (b *DexAPIBackend) SendTx(ctx context.Context, signedTx *types.Transaction)
return b.dex.txPool.AddLocal(signedTx)
}
+func (b *DexAPIBackend) SendTxs(ctx context.Context, signedTxs []*types.Transaction) []error {
+ return b.dex.txPool.AddLocals(signedTxs)
+}
+
func (b *DexAPIBackend) GetPoolTransactions() (types.Transactions, error) {
pending, err := b.dex.txPool.Pending()
if err != nil {