forked from cerc-io/ipld-eth-server
VDB-327 Constantinople prep (#135)
* Bump geth to 1.8.20 for Constantinople * Fix conflicting import/toml source for logrus
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
package bigcache
|
||||
|
||||
import "time"
|
||||
|
||||
type clock interface {
|
||||
epoch() int64
|
||||
}
|
||||
|
||||
type systemClock struct {
|
||||
}
|
||||
|
||||
func (c systemClock) epoch() int64 {
|
||||
return time.Now().Unix()
|
||||
}
|
||||
Reference in New Issue
Block a user