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

@ -83,7 +83,7 @@ func getTX(t *testing.B, wif *keys.WIF) *transaction.Transaction {
tx.Sender = fromAddressHash
tx.Attributes = append(tx.Attributes,
transaction.Attribute{
Usage: transaction.Description,
Usage: transaction.DescriptionURL,
Data: []byte(randString(10)),
})
return tx