Commit 928a1303 authored by obscuren's avatar obscuren

Merge branch 'master' of github.com-obscure:ethereum/go-ethereum

parents f07b53da bd9af2a7
...@@ -38,10 +38,18 @@ Deps ...@@ -38,10 +38,18 @@ Deps
Ethereum Go makes use of a modified `secp256k1-go` and therefor GMP. Ethereum Go makes use of a modified `secp256k1-go` and therefor GMP.
Install Ubuntu 12+
* `apt-get install gmp-dev`
OS X 10.9+:
* `brew install gmp`
Build
======= =======
```go get -u -t github.com/ethereum/go-ethereum``` * `go get -u -t github.com/ethereum/go-ethereum`
* `cd $GOPATH/src/github.com/ethereum/go-etherum`
* `go build`
Command line options Command line options
......
...@@ -27,8 +27,7 @@ func TestTestRunner(t *testing.T) { ...@@ -27,8 +27,7 @@ func TestTestRunner(t *testing.T) {
for key, value := range source.Inputs { for key, value := range source.Inputs {
trie.Update(key, value) trie.Update(key, value)
} }
if hex.EncodeToString(trie.Root.([]byte)) != source.Expectation {
if hex.EncodeToString([]byte(trie.Root)) != source.Expectation {
t.Error("trie root did not match") t.Error("trie root did not match")
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment