Cleanup logging

This commit is contained in:
Taylor Gerring
2015-06-11 13:06:56 -04:00
parent 8507c867b9
commit c941a39b75
6 changed files with 15 additions and 12 deletions

View File

@ -12,6 +12,7 @@ import (
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/logger/glog"
)
func RunStateTest(p string) error {
@ -25,7 +26,7 @@ func RunStateTest(p string) error {
for name, test := range tests {
if skipTest[name] {
fmt.Println("Skipping state test", name)
glog.Infoln("Skipping state test", name)
return nil
}
db, _ := ethdb.NewMemDatabase()
@ -105,7 +106,7 @@ func RunStateTest(p string) error {
}
}
fmt.Println("State test passed: ", name)
glog.Infoln("State test passed: ", name)
//fmt.Println(string(statedb.Dump()))
}
return nil