forked from TrueCloudLab/neoneo-go
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:
parent
d2a7162217
commit
b2936e602c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue