Skip to content

Commit 5eb7973

Browse files
committed
fix
1 parent 327c8c6 commit 5eb7973

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/w3/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func main() {
2020

2121
// 2. Make a batch request
2222
var (
23-
balance big.Int
23+
balance *big.Int
2424
nonce uint64
2525
)
2626
if err := client.Call(
@@ -30,5 +30,5 @@ func main() {
3030
// handle error
3131
}
3232

33-
fmt.Printf("balance: %s\nnonce: %d\n", w3.FromWei(&balance, 18), nonce)
33+
fmt.Printf("balance: %s\nnonce: %d\n", w3.FromWei(balance, 18), nonce)
3434
}

0 commit comments

Comments
 (0)