From c7e6c8eacc3b7b399a535a635c69e3e5712d6ac0 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Fri, 23 Oct 2020 21:45:08 +0200 Subject: [PATCH] Fix flaky TestChainExportImportFull Signed-off-by: Jakub Sztandera --- chain/store/store_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/store/store_test.go b/chain/store/store_test.go index 60167ad86..160527104 100644 --- a/chain/store/store_test.go +++ b/chain/store/store_test.go @@ -126,7 +126,7 @@ func TestChainExportImportFull(t *testing.T) { } buf := new(bytes.Buffer) - if err := cg.ChainStore().Export(context.TODO(), last, 100, false, buf); err != nil { + if err := cg.ChainStore().Export(context.TODO(), last, last.Height(), false, buf); err != nil { t.Fatal(err) }