@@ -75,7 +75,7 @@ Your new account is locked with a password. Please give a password. Do not forge
7575Passphrase: {{.InputLine "foobar"}}
7676Repeat passphrase: {{.InputLine "foobar"}}
7777` )
78- XDC .ExpectRegexp (`Address: \{xdc [0-9a-f]{40}\}\n` )
78+ XDC .ExpectRegexp (`Address: \{0x [0-9a-f]{40}\}\n` )
7979}
8080
8181func TestAccountNewBadRepeat (t * testing.T ) {
@@ -112,7 +112,7 @@ func TestWalletImport(t *testing.T) {
112112 XDC .Expect (`
113113!! Unsupported terminal, password will be echoed.
114114Passphrase: {{.InputLine "foo"}}
115- Address: {xdcd4584b5f6229b7be90727b0fc8c6b91bb427821f }
115+ Address: {0xd4584b5f6229b7be90727b0fc8c6b91bb427821f }
116116` )
117117
118118 files , err := ioutil .ReadDir (filepath .Join (XDC .Datadir , "keystore" ))
@@ -146,7 +146,7 @@ Passphrase: {{.InputLine "foobar"}}
146146
147147 wantMessages := []string {
148148 "Unlocked account" ,
149- "=xdcf466859eAD1932D743d622CB74FC058882E8648A " ,
149+ "=0xf466859eAD1932D743d622CB74FC058882E8648A " ,
150150 }
151151 for _ , m := range wantMessages {
152152 if ! strings .Contains (XDC .StderrText (), m ) {
@@ -191,8 +191,8 @@ Passphrase: {{.InputLine "foobar"}}
191191
192192 wantMessages := []string {
193193 "Unlocked account" ,
194- "=xdc7EF5A6135f1FD6a02593eEdC869c6D41D934aef8 " ,
195- "=xdc289d485D9771714CCe91D3393D764E1311907ACc " ,
194+ "=0x7EF5A6135f1FD6a02593eEdC869c6D41D934aef8 " ,
195+ "=0x289d485D9771714CCe91D3393D764E1311907ACc " ,
196196 }
197197 for _ , m := range wantMessages {
198198 if ! strings .Contains (XDC .StderrText (), m ) {
@@ -211,8 +211,8 @@ func TestUnlockFlagPasswordFile(t *testing.T) {
211211
212212 wantMessages := []string {
213213 "Unlocked account" ,
214- "=xdc7EF5A6135f1FD6a02593eEdC869c6D41D934aef8 " ,
215- "=xdc289d485D9771714CCe91D3393D764E1311907ACc " ,
214+ "=0x7EF5A6135f1FD6a02593eEdC869c6D41D934aef8 " ,
215+ "=0x289d485D9771714CCe91D3393D764E1311907ACc " ,
216216 }
217217 for _ , m := range wantMessages {
218218 if ! strings .Contains (XDC .StderrText (), m ) {
@@ -261,7 +261,7 @@ In order to avoid this warning, you need to remove the following duplicate key f
261261
262262 wantMessages := []string {
263263 "Unlocked account" ,
264- "=xdcf466859eAD1932D743d622CB74FC058882E8648A " ,
264+ "=0xf466859eAD1932D743d622CB74FC058882E8648A " ,
265265 }
266266 for _ , m := range wantMessages {
267267 if ! strings .Contains (XDC .StderrText (), m ) {
0 commit comments