removed json dump in unit test

This commit is contained in:
StephenButtolph 2020-03-27 16:56:43 -04:00
parent 4b36f9d041
commit a0b999950d
1 changed files with 1 additions and 9 deletions

View File

@ -5,7 +5,6 @@ package avm
import (
"bytes"
"encoding/json"
"testing"
"github.com/ava-labs/gecko/database/memdb"
@ -695,14 +694,7 @@ func TestIssueDependentTx(t *testing.T) {
t.Fatalf("Wrong message")
}
txs := vm.PendingTxs()
if len(txs) != 2 {
if txs := vm.PendingTxs(); len(txs) != 2 {
t.Fatalf("Should have returned %d tx(s)", 2)
}
jsonBytes, err := json.Marshal(txs[0])
if err != nil {
t.Fatal(err)
}
t.Fatalf("%s", jsonBytes)
}