diff options
Diffstat (limited to 'eth')
-rw-r--r-- | eth/api_backend.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eth/api_backend.go b/eth/api_backend.go index b8a525f02..32faea206 100644 --- a/eth/api_backend.go +++ b/eth/api_backend.go @@ -157,6 +157,10 @@ func (b *EthAPIBackend) SendTx(ctx context.Context, signedTx *types.Transaction) return b.eth.txPool.AddLocal(signedTx) } +func (b *EthAPIBackend) SendTxs(ctx context.Context, signedTxs []*types.Transaction) []error { + return b.eth.txPool.AddLocals(signedTxs) +} + func (b *EthAPIBackend) GetPoolTransactions() (types.Transactions, error) { pending, err := b.eth.txPool.Pending() if err != nil { |