diff --git a/chainsync/filtercontrol.go b/chainsync/filtercontrol.go index 795072743..c8b3304af 100644 --- a/chainsync/filtercontrol.go +++ b/chainsync/filtercontrol.go @@ -69,6 +69,10 @@ func ControlCFHeader(params chaincfg.Params, fType wire.FilterType, return nil } +func FetchControlCFHeader(params chaincfg.Params) map[uint32]*chainhash.Hash { + return filterHeaderCheckpoints[params.Net] +} + // hashFromStr makes a chainhash.Hash from a valid hex string. If the string is // invalid, a nil pointer will be returned. func hashFromStr(hexStr string) *chainhash.Hash {