mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-06 09:55:09 +00:00
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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue