aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-07-07 11:10:49 +0800
committerFelix Lange <fjl@twurst.com>2015-07-07 20:12:45 +0800
commit4fb28e0dab912854570c6b6b183004f4b3e7ac05 (patch)
treea134341db17cf280e4529533c0eb86fca7e542a9
parentbdae4fd573dbc163bab3d0e2d1a5c457892037cd (diff)
downloaddexon-4fb28e0dab912854570c6b6b183004f4b3e7ac05.tar.gz
dexon-4fb28e0dab912854570c6b6b183004f4b3e7ac05.tar.zst
dexon-4fb28e0dab912854570c6b6b183004f4b3e7ac05.zip
all: goimports -w
-rw-r--r--common/natspec/natspec.go2
-rw-r--r--core/vm/vm_jit.go6
-rw-r--r--crypto/randentropy/rand_entropy.go3
3 files changed, 7 insertions, 4 deletions
diff --git a/common/natspec/natspec.go b/common/natspec/natspec.go
index 90dfa4320..ed16d62a0 100644
--- a/common/natspec/natspec.go
+++ b/common/natspec/natspec.go
@@ -20,7 +20,6 @@ import (
"bytes"
"encoding/json"
"fmt"
- "github.com/robertkrimen/otto"
"strings"
"github.com/ethereum/go-ethereum/common"
@@ -28,6 +27,7 @@ import (
"github.com/ethereum/go-ethereum/common/registrar"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/xeth"
+ "github.com/robertkrimen/otto"
)
type abi2method map[[8]byte]*method
diff --git a/core/vm/vm_jit.go b/core/vm/vm_jit.go
index 25e59eaf4..34f45b5f4 100644
--- a/core/vm/vm_jit.go
+++ b/core/vm/vm_jit.go
@@ -34,10 +34,12 @@ import (
"bytes"
"errors"
"fmt"
- "github.com/ethereum/go-ethereum/core/state"
- "github.com/ethereum/go-ethereum/crypto"
"math/big"
"unsafe"
+
+ "github.com/ethereum/go-ethereum/core/state"
+ "github.com/ethereum/go-ethereum/crypto"
+ "github.com/ethereum/go-ethereum/params"
)
type JitVm struct {
diff --git a/crypto/randentropy/rand_entropy.go b/crypto/randentropy/rand_entropy.go
index e7f765af6..4ac12460b 100644
--- a/crypto/randentropy/rand_entropy.go
+++ b/crypto/randentropy/rand_entropy.go
@@ -18,8 +18,9 @@ package randentropy
import (
crand "crypto/rand"
- "github.com/ethereum/go-ethereum/crypto/sha3"
"io"
+
+ "github.com/ethereum/go-ethereum/crypto/sha3"
)
var Reader io.Reader = &randEntropy{}