Skip to content

Commit 5036143

Browse files
committed
fix typo + comment cleanup
1 parent d94d32e commit 5036143

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

call_bundle_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ func TestCallBundle(t *testing.T) {
2323
BundleHash: w3.H("0x73b1e258c7a42fd0230b2fd05529c5d4b6fcb66c227783f8bece8aeacdd1db2e"),
2424
CoinbaseDiff: w3.I("20000000000126000"),
2525
EthSentToCoinbase: w3.I("20000000000000000"),
26-
GasFees: w3.I("126000"), // XXX
26+
GasFees: w3.I("126000"),
2727
StateBlockNumber: w3.I("5221585"),
2828
TotalGasUsed: 42000,
2929
Results: []flashbots.CallBundleResult{
3030
{
3131
CoinbaseDiff: w3.I("10000000000063000"),
3232
EthSentToCoinbase: w3.I("10000000000000000"),
3333
FromAddress: w3.A("0x02A727155aeF8609c9f7F2179b2a1f560B39F5A0"),
34-
GasFees: w3.I("63000"), // XXX
34+
GasFees: w3.I("63000"),
3535
GasPrice: w3.I("476190476193"),
3636
GasUsed: 21000,
3737
ToAddress: w3.APtr("0x73625f59CAdc5009Cb458B751b3E7b6b48C06f2C"),

middleware_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func BenchmarkSign(b *testing.B) {
4444

4545
for i := 0; i < b.N; i++ {
4646
if _, err := authRT.sign(body); err != nil {
47-
b.Fatalf("Faild to sign body: %v", err)
47+
b.Fatalf("Failed to sign body: %v", err)
4848
}
4949
}
5050
}

0 commit comments

Comments
 (0)