Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 96ac902

Browse files
authored
fix: make sendBundle return instantly to reuse connections (#55)
1 parent b088580 commit 96ac902

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/ethapi/api.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,9 @@ func (s *PrivateTxBundleAPI) SendBundle(ctx context.Context, args SendBundleArgs
21742174
maxTimestamp = *args.MaxTimestamp
21752175
}
21762176

2177-
return s.b.SendBundle(ctx, txs, args.BlockNumber, replacementUuid, signingAddress, minTimestamp, maxTimestamp, args.RevertingTxHashes)
2177+
go s.b.SendBundle(ctx, txs, args.BlockNumber, replacementUuid, signingAddress, minTimestamp, maxTimestamp, args.RevertingTxHashes)
2178+
2179+
return nil
21782180
}
21792181

21802182
// BundleAPI offers an API for accepting bundled transactions

0 commit comments

Comments
 (0)