transaction: drop old attributes
They're not supported in Neo 3. Also change data encoding to base64 following Neo 3 changes.
This commit is contained in:
parent
56a8f11ad6
commit
fedcc6b6fc
7 changed files with 13 additions and 223 deletions
|
@ -285,7 +285,7 @@ func createVMAndTX(t *testing.T) (*vm.VM, *transaction.Transaction, *interop.Con
|
|||
|
||||
bytes := make([]byte, 1)
|
||||
attributes := append(tx.Attributes, transaction.Attribute{
|
||||
Usage: transaction.Description,
|
||||
Usage: transaction.DescriptionURL,
|
||||
Data: bytes,
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue