mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
parent
20e3de2c4b
commit
4a6fccaf69
6 changed files with 0 additions and 6 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -48,5 +48,4 @@ func main() {
|
|||
fmt.Println("UpdateFee: Get receipt failed", err)
|
||||
}
|
||||
fmt.Println("UpdateFee: Done receipt status", r.Status)
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -261,7 +261,6 @@ func (api *FilterAPI) Logs(ctx context.Context, crit FilterCriteria) (*rpc.Subsc
|
|||
}
|
||||
|
||||
go func() {
|
||||
|
||||
for {
|
||||
select {
|
||||
case logs := <-matchedLogs:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@ func BenchmarkFilters(b *testing.B) {
|
|||
case 99999:
|
||||
receipt := makeReceipt(addr4)
|
||||
gen.AddUncheckedReceipt(receipt)
|
||||
|
||||
}
|
||||
})
|
||||
for i, block := range chain {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue