From b2936e602c86d057ee45410aee92ee06b5468f56 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 5 Mar 2024 19:00:29 +0300 Subject: [PATCH] notary: fix getCompletedTx error It checks for any transaction given (like fb), not exactly the main one. Signed-off-by: Roman Khimov --- pkg/services/notary/core_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/notary/core_test.go b/pkg/services/notary/core_test.go index 510eb45b5..802cd4149 100644 --- a/pkg/services/notary/core_test.go +++ b/pkg/services/notary/core_test.go @@ -133,7 +133,7 @@ func TestNotary(t *testing.T) { defer mtx.RUnlock() completedTx = completedTxes[h] return completedTx != nil - }, time.Second*3, time.Millisecond*50, errors.New("main transaction expected to be completed")) + }, time.Second*3, time.Millisecond*50, errors.New("transaction expected to be completed")) return completedTx }