fixed locking bug in tests

This commit is contained in:
StephenButtolph 2020-03-30 20:22:07 -04:00
parent b41d6ef95a
commit 2fa86ef49c
1 changed files with 4 additions and 0 deletions

View File

@ -706,6 +706,8 @@ func TestIssueNFT(t *testing.T) {
issuer := make(chan common.Message, 1)
ctx.Lock.Lock()
defer ctx.Lock.Unlock()
vm := &VM{}
err := vm.Initialize(
ctx,
@ -862,6 +864,8 @@ func TestIssueProperty(t *testing.T) {
issuer := make(chan common.Message, 1)
ctx.Lock.Lock()
defer ctx.Lock.Unlock()
vm := &VM{}
err := vm.Initialize(
ctx,