From 8387ae1078b516eedb199d2c38c0b9d262aaa3f0 Mon Sep 17 00:00:00 2001 From: Dat Luong Date: Tue, 24 Dec 2024 14:39:29 +0700 Subject: [PATCH] lint fix --- pkg/mev/bundle_sender.go | 4 +++- pkg/mev/bundle_sender_test.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/mev/bundle_sender.go b/pkg/mev/bundle_sender.go index 41bb266..c16d3b3 100644 --- a/pkg/mev/bundle_sender.go +++ b/pkg/mev/bundle_sender.go @@ -239,7 +239,9 @@ func (s *Client) sendBundle( success {"RequestID": "ctl32rfdqqbc73cb4m80", "id": "builder-blink", "tx": ["0xd629cbb2b4b741f6e71f8daafdbe1d484c5b53020b9cca9a407e0a7cb65f394c"], "uuid": null, "block": 21469801, "response": - {"jsonrpc":"2.0","id":1,"result":{"bundleHash":"\"0xf72e9e8afd22af2904857e03575eb6f125cabc0d18fe7fb89ee1f8c6861687ae\""},"error":{}}, + {"jsonrpc":"2.0","id":1, + "result":{"bundleHash":"\"0xf72e9e8afd22af2904857e03575eb6f125cabc0d18fe7fb89ee1f8c6861687ae\""}, + "error":{}}, "time": "661.127521ms", "start": "2024-12-24 03:58:37.475914455 +0000 UTC"} so we need to strip before save to db diff --git a/pkg/mev/bundle_sender_test.go b/pkg/mev/bundle_sender_test.go index 7bd8e00..6ba58e2 100644 --- a/pkg/mev/bundle_sender_test.go +++ b/pkg/mev/bundle_sender_test.go @@ -25,7 +25,7 @@ import ( ) func TestSendBundle(t *testing.T) { - //t.Skip() + t.Skip() // Generate a new private key privateKey, err := ecdsa.GenerateKey(crypto.S256(), rand.Reader)