*: change address to the new format
NEO3 uses new prefix for address (53 = 0x35), thus string representations as well as encrypted WIFs should be changed.
This commit is contained in:
parent
651976b2ca
commit
7b4ca57e33
29 changed files with 106 additions and 95 deletions
|
@ -23,11 +23,11 @@ import (
|
|||
)
|
||||
|
||||
func TestFromAddress(t *testing.T) {
|
||||
as1 := "Aej1fe4mUgou48Zzup5j8sPrE3973cJ5oz"
|
||||
as1 := "NQRLhCpAru9BjGsMwk67vdMwmzKMRgsnnN"
|
||||
addr1, err := address.StringToUint160(as1)
|
||||
require.NoError(t, err)
|
||||
|
||||
as2 := "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y"
|
||||
as2 := "NPAsqZkx9WhNd4P72uhZxBhLinSuNkxfB8"
|
||||
addr2, err := address.StringToUint160(as2)
|
||||
require.NoError(t, err)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue