diff --git a/eth/common/eth_times.nim b/eth/common/eth_times.nim index 9243eb7..fda8e9f 100644 --- a/eth/common/eth_times.nim +++ b/eth/common/eth_times.nim @@ -14,7 +14,7 @@ import type EthTime* = distinct uint64 -func now*(_: type EthTime): EthTime = +proc now*(_: type EthTime): EthTime = getTime().utc.toTime.toUnix.EthTime func `+`*(a: EthTime, b: EthTime): EthTime =