Merge branch 'master' into vms-avm-codecSetup

This commit is contained in:
Stephen Buttolph 2020-04-13 14:28:57 -04:00 committed by GitHub
commit 77f7dea6fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ func TestTxNil(t *testing.T) {
if err := tx.SyntacticVerify(ctx, c, 1); err == nil {
t.Fatalf("Should have errored due to nil tx")
}
if err := tx.SemanticVerify(nil, nil); err == nil {
t.Fatalf("Should have errored due to nil tx")
}
}
func setupCodec() codec.Codec {