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

This commit is contained in:
obscuren 2014-02-02 16:24:38 +01:00
commit 928a1303f6
2 changed files with 11 additions and 4 deletions

View File

@ -38,10 +38,18 @@ Deps
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

View File

@ -27,8 +27,7 @@ func TestTestRunner(t *testing.T) {
for key, value := range source.Inputs {
trie.Update(key, value)
}
if hex.EncodeToString([]byte(trie.Root)) != source.Expectation {
if hex.EncodeToString(trie.Root.([]byte)) != source.Expectation {
t.Error("trie root did not match")
}
})