From af61dfd8cd364f12d6c9d0639ad66256c0c26b0e Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Mon, 27 Jan 2020 13:09:00 -0800 Subject: [PATCH] Fix order Signed-off-by: Jakub Sztandera --- cmd/lotus-chainwatch/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-chainwatch/storage.go b/cmd/lotus-chainwatch/storage.go index 728b7f393..ceb6984c0 100644 --- a/cmd/lotus-chainwatch/storage.go +++ b/cmd/lotus-chainwatch/storage.go @@ -605,8 +605,8 @@ create temp table c (like blocks_challenges excluding constraints) on commit dro if _, err := stmt3.Exec( bh.Cid().String(), index, - c.Partial, c.SectorID, + c.Partial, c.ChallengeIndex); err != nil { log.Error(err) }