copernet / copernicus

An alternative implementation of the Bitcoin Cash protocol, written in Golang
https://copernet.io
BSD 2-Clause "Simplified" License
85 stars 34 forks source link

BanDuration has no default value and is not configured #208

Closed whitefen closed 5 years ago

whitefen commented 5 years ago

Describe the bug conf.Cfg.P2PNet.BanDuration has no default value and is not configured

To Reproduce review the code in conf.go

Expected behavior set a default value

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):