@@ -203,7 +203,7 @@ func TestVectorSecp256k1Address(t *testing.T) {
203
203
204
204
// Testnet
205
205
// Round trip encoding and decoding from string
206
- currentNetwork = Testnet
206
+ CurrentNetwork = Testnet
207
207
addr , err := NewSecp256k1Address (tc .input )
208
208
assert .NoError (err )
209
209
assert .Equal (tc .expectedTestnetAddrStr , addr .String ())
@@ -229,7 +229,7 @@ func TestVectorSecp256k1Address(t *testing.T) {
229
229
230
230
// Mainnet
231
231
// Round trip encoding and decoding from string
232
- currentNetwork = Mainnet
232
+ CurrentNetwork = Mainnet
233
233
assert .Equal (tc .expectedMainnetAddrStr , addr .String ())
234
234
235
235
maybeMainnetAddr , err := NewFromString (tc .expectedMainnetAddrStr )
@@ -319,7 +319,7 @@ func TestVectorActorAddress(t *testing.T) {
319
319
320
320
// Testnet
321
321
// Round trip encoding and decoding from string
322
- currentNetwork = Testnet
322
+ CurrentNetwork = Testnet
323
323
addr , err := NewActorAddress (tc .input )
324
324
assert .NoError (err )
325
325
assert .Equal (tc .expectedTestnetAddrStr , addr .String ())
@@ -345,7 +345,7 @@ func TestVectorActorAddress(t *testing.T) {
345
345
346
346
// Mainnet
347
347
// Round trip encoding and decoding from string
348
- currentNetwork = Mainnet
348
+ CurrentNetwork = Mainnet
349
349
assert .Equal (tc .expectedMainnetAddrStr , addr .String ())
350
350
351
351
maybeMainnetAddr , err := NewFromString (tc .expectedMainnetAddrStr )
@@ -425,7 +425,7 @@ func TestVectorBLSAddress(t *testing.T) {
425
425
426
426
// Testnet
427
427
// Round trip encoding and decoding from string
428
- currentNetwork = Testnet
428
+ CurrentNetwork = Testnet
429
429
addr , err := NewBLSAddress (tc .input )
430
430
assert .NoError (err )
431
431
assert .Equal (tc .expectedTestnetAddrStr , addr .String ())
@@ -451,7 +451,7 @@ func TestVectorBLSAddress(t *testing.T) {
451
451
452
452
// Mainnet
453
453
// Round trip encoding and decoding from string
454
- currentNetwork = Mainnet
454
+ CurrentNetwork = Mainnet
455
455
assert .Equal (tc .expectedMainnetAddrStr , addr .String ())
456
456
457
457
maybeMainnetAddr , err := NewFromString (tc .expectedMainnetAddrStr )
0 commit comments