From f29e1eacff7c9be4bfbce3c6c30ee3bcbe7733c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 9 Dec 2019 14:32:58 +0100 Subject: [PATCH] storage: set sector state correctly --- storage/sectors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/sectors.go b/storage/sectors.go index 5326a7541..251c10331 100644 --- a/storage/sectors.go +++ b/storage/sectors.go @@ -40,7 +40,7 @@ func (u *sectorUpdate) state(m func(*SectorInfo)) *sectorUpdate { } func (u *sectorUpdate) to(newState api.SectorState) *sectorUpdate { - u.nonce = newState + u.newState = newState return u }