From 2591883a18113f1b60e6057313ff552c92d7f261 Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Tue, 7 Apr 2015 12:48:13 +0200 Subject: Use logger.Error instead of 0 with glog --- core/vm/address.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/vm') diff --git a/core/vm/address.go b/core/vm/address.go index c6db1d5ff..742017dd2 100644 --- a/core/vm/address.go +++ b/core/vm/address.go @@ -5,6 +5,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" + "github.com/ethereum/go-ethereum/logger" "github.com/ethereum/go-ethereum/logger/glog" "github.com/ethereum/go-ethereum/params" ) @@ -84,7 +85,7 @@ func ecrecoverFunc(in []byte) []byte { pubKey, err := crypto.Ecrecover(in[:32], rsv) // make sure the public key is a valid one if err != nil { - glog.V(0).Infof("EC RECOVER FAIL: ", err) + glog.V(logger.Error).Infof("EC RECOVER FAIL: ", err) return nil } -- cgit v1.2.3