core: fix TestGetClaimable occasional failures

This commit is contained in:
Roman Khimov 2020-06-27 12:36:43 +03:00
parent a46c71f2de
commit cab437284d

View file

@ -188,6 +188,7 @@ func TestGetTransaction(t *testing.T) {
*/ */
func TestGetClaimable(t *testing.T) { func TestGetClaimable(t *testing.T) {
bc := newTestChain(t) bc := newTestChain(t)
defer bc.Close()
bc.generationAmount = []int{4, 3, 2, 1} bc.generationAmount = []int{4, 3, 2, 1}
bc.decrementInterval = 2 bc.decrementInterval = 2