Merge branch 'fake-msg' of github.com:DeBankDeFi/go-ethereum into fake-msg

This commit is contained in:
linhaiyang 2021-10-27 15:51:36 +08:00
commit d18f06d73d
2 changed files with 2 additions and 1 deletions

View file

@ -35,4 +35,4 @@ jobs:
version: v1.42.1
only-new-issues: true
skip-pkg-cache: true
skip-build-cache: true:w
skip-build-cache: true

View file

@ -109,6 +109,7 @@ func LocalEnv() Environment {
commitRe, _ := regexp.Compile("^([0-9a-f]{40})$")
if commit := commitRe.FindString(head); commit != "" && env.Commit == "" {
env.Commit = commit
env.Date = getDate(commit)
}
return env
}