transaction: drop Contract transaction type
This commit is contained in:
parent
6853470603
commit
f445f7c602
12 changed files with 110 additions and 338 deletions
|
@ -102,7 +102,7 @@ func TestScriptFromWitness(t *testing.T) {
|
|||
|
||||
func TestGetHeader(t *testing.T) {
|
||||
bc := newTestChain(t)
|
||||
tx := transaction.NewContractTX()
|
||||
tx := transaction.NewInvocationTX([]byte{byte(opcode.PUSH1)}, 0)
|
||||
tx.ValidUntilBlock = bc.BlockHeight() + 1
|
||||
assert.Nil(t, addSender(tx))
|
||||
assert.Nil(t, signTx(bc, tx))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue