Skip to content

Commit

Permalink
fix: make sendBundle return instantly to reuse connections (ethereum#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
fnerdman authored Apr 4, 2023
1 parent b088580 commit 96ac902
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2174,7 +2174,9 @@ func (s *PrivateTxBundleAPI) SendBundle(ctx context.Context, args SendBundleArgs
maxTimestamp = *args.MaxTimestamp
}

return s.b.SendBundle(ctx, txs, args.BlockNumber, replacementUuid, signingAddress, minTimestamp, maxTimestamp, args.RevertingTxHashes)
go s.b.SendBundle(ctx, txs, args.BlockNumber, replacementUuid, signingAddress, minTimestamp, maxTimestamp, args.RevertingTxHashes)

return nil
}

// BundleAPI offers an API for accepting bundled transactions
Expand Down

0 comments on commit 96ac902

Please sign in to comment.