all: fix whitespace (#1506)

Co-authored-by: wit <wit765765346@gmail>
This commit is contained in:
wit liu 2025-09-17 08:23:06 +08:00 committed by GitHub
parent 20e3de2c4b
commit 4a6fccaf69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 0 additions and 6 deletions

View file

@ -381,7 +381,6 @@ func importWallet(ctx *cli.Context) error {
backends := am.Backends(keystore.KeyStoreType)
if len(backends) == 0 {
utils.Fatalf("Keystore is not available")
}
ks := backends[0].(*keystore.KeyStore)
passphrase := getPassPhrase("", false, 0, utils.MakePasswordList(ctx))

View file

@ -48,5 +48,4 @@ func main() {
fmt.Println("UpdateFee: Get receipt failed", err)
}
fmt.Println("UpdateFee: Done receipt status", r.Status)
}

View file

@ -261,7 +261,6 @@ func (api *FilterAPI) Logs(ctx context.Context, crit FilterCriteria) (*rpc.Subsc
}
go func() {
for {
select {
case logs := <-matchedLogs:

View file

@ -104,7 +104,6 @@ func (b *testBackend) GetBody(ctx context.Context, hash common.Hash, number rpc.
}
func (b *testBackend) GetReceipts(ctx context.Context, blockHash common.Hash) (types.Receipts, error) {
if number := rawdb.ReadHeaderNumber(b.db, blockHash); number != nil {
return rawdb.ReadReceipts(b.db, blockHash, *number, params.TestChainConfig), nil
}

View file

@ -74,7 +74,6 @@ func BenchmarkFilters(b *testing.B) {
case 99999:
receipt := makeReceipt(addr4)
gen.AddUncheckedReceipt(receipt)
}
})
for i, block := range chain {

View file

@ -365,7 +365,6 @@ func (s *Server) StopMocker(w http.ResponseWriter, req *http.Request) {
// GetMockerList returns a list of available mockers
func (s *Server) GetMockers(w http.ResponseWriter, req *http.Request) {
list := GetMockerList()
s.JSON(w, http.StatusOK, list)
}