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

pull/19/head
obscuren 11 years ago
commit 928a1303f6
  1. 12
      README.md
  2. 3
      test_runner_test.go

@ -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) {
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")
} }
}) })

Loading…
Cancel
Save