notary: fix getCompletedTx error

It checks for any transaction given (like fb), not exactly the main one.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
Roman Khimov 2024-03-05 19:00:29 +03:00
parent d2a7162217
commit b2936e602c

View file

@ -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
}