core,network: shutdown services in tests properly
This commit is contained in:
parent
295f9e3ee1
commit
c508a36827
2 changed files with 11 additions and 1 deletions
|
@ -203,6 +203,7 @@ func TestCreateBasicChain(t *testing.T) {
|
|||
var neoAmount = util.Fixed8FromInt64(99999000)
|
||||
var neoRemainder = util.Fixed8FromInt64(100000000) - neoAmount
|
||||
bc := newTestChain(t)
|
||||
defer bc.Close()
|
||||
|
||||
// Move almost all NEO to one simple account.
|
||||
txMoveNeo := transaction.NewContractTX()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue