mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
comparing it with '==' (as in err == xxxErr) is no longer the best pr
This commit is contained in:
parent
e91824491e
commit
50519cf8a4
8 changed files with 0 additions and 8 deletions
|
|
@ -17,7 +17,6 @@
|
|||
package keystore
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/pkg/errors"
|
||||
"math/rand"
|
||||
"os"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package rawdb
|
|||
import (
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/pkg/errors"
|
||||
"math/rand"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ package snapshot
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"github.com/pkg/errors"
|
||||
"testing"
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package snapshot
|
|||
import (
|
||||
crand "crypto/rand"
|
||||
"encoding/binary"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/pkg/errors"
|
||||
"math/rand"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ package vm
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"github.com/pkg/errors"
|
||||
"math"
|
||||
"math/big"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
package downloader
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/pkg/errors"
|
||||
"math/big"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package pebble
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/pkg/errors"
|
||||
"runtime"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ package core_test
|
|||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/pkg/errors"
|
||||
"math/big"
|
||||
|
|
|
|||
Loading…
Reference in a new issue