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:
Roman Khimov 2020-07-10 20:40:27 +03:00
parent 56a8f11ad6
commit fedcc6b6fc
7 changed files with 13 additions and 223 deletions

View file

@ -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,
})