address: rename functions as per #579 comments
Make them more clear to understand.
This commit is contained in:
parent
53e6fbbbf9
commit
b246653f62
16 changed files with 28 additions and 28 deletions
|
@ -72,7 +72,7 @@ func getWif(t *testing.B) *keys.WIF {
|
|||
// getTX returns Invocation transaction with some random attributes in order to have different hashes.
|
||||
func getTX(t *testing.B, wif *keys.WIF) *transaction.Transaction {
|
||||
fromAddress := wif.PrivateKey.Address()
|
||||
fromAddressHash, err := address.DecodeUint160(fromAddress)
|
||||
fromAddressHash, err := address.StringToUint160(fromAddress)
|
||||
require.NoError(t, err)
|
||||
|
||||
tx := &transaction.Transaction{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue