From 58c946dceda6e5d5e9197981d73979ba064ce59c Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Thu, 7 Mar 2024 18:18:12 +0800 Subject: [PATCH] caps --- pmtiles/makesync.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pmtiles/makesync.go b/pmtiles/makesync.go index 2092fa2..5220ec6 100644 --- a/pmtiles/makesync.go +++ b/pmtiles/makesync.go @@ -60,7 +60,7 @@ func serializeSyncBlocks(output io.Writer, blocks []syncBlock) { } } -func deserializesyncBlocks(numBlocks int, reader *bufio.Reader) []syncBlock { +func deserializeSyncBlocks(numBlocks int, reader *bufio.Reader) []syncBlock { blocks := make([]syncBlock, 0) lastStartID := uint64(0) @@ -271,7 +271,7 @@ func Sync(logger *log.Logger, file string, syncfilename string, overfetch float3 json.Unmarshal(jsonBytes, &metadata) - blocks := deserializesyncBlocks(metadata.NumBlocks, bufferedReader) + blocks := deserializeSyncBlocks(metadata.NumBlocks, bufferedReader) ctx := context.Background()