comparing it with '==' (as in err == xxxErr) is no longer the best pr

This commit is contained in:
19byte 2024-03-06 21:55:12 +08:00
parent e91824491e
commit 50519cf8a4
8 changed files with 0 additions and 8 deletions

View file

@ -17,7 +17,6 @@
package keystore
import (
"errors"
"github.com/pkg/errors"
"math/rand"
"os"

View file

@ -19,7 +19,6 @@ package rawdb
import (
"bytes"
"encoding/binary"
"errors"
"fmt"
"github.com/pkg/errors"
"math/rand"

View file

@ -18,7 +18,6 @@ package snapshot
import (
"bytes"
"errors"
"github.com/pkg/errors"
"testing"

View file

@ -19,7 +19,6 @@ package snapshot
import (
crand "crypto/rand"
"encoding/binary"
"errors"
"fmt"
"github.com/pkg/errors"
"math/rand"

View file

@ -18,7 +18,6 @@ package vm
import (
"bytes"
"errors"
"github.com/pkg/errors"
"math"
"math/big"

View file

@ -17,7 +17,6 @@
package downloader
import (
"errors"
"fmt"
"github.com/pkg/errors"
"math/big"

View file

@ -19,7 +19,6 @@ package pebble
import (
"bytes"
"errors"
"fmt"
"github.com/pkg/errors"
"runtime"

View file

@ -19,7 +19,6 @@ package core_test
import (
"bytes"
"context"
"errors"
"fmt"
"github.com/pkg/errors"
"math/big"