We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 327c8c6 commit 5eb7973Copy full SHA for 5eb7973
1 file changed
cmd/w3/main.go
@@ -20,7 +20,7 @@ func main() {
20
21
// 2. Make a batch request
22
var (
23
- balance big.Int
+ balance *big.Int
24
nonce uint64
25
)
26
if err := client.Call(
@@ -30,5 +30,5 @@ func main() {
30
// handle error
31
}
32
33
- fmt.Printf("balance: %s\nnonce: %d\n", w3.FromWei(&balance, 18), nonce)
+ fmt.Printf("balance: %s\nnonce: %d\n", w3.FromWei(balance, 18), nonce)
34
0 commit comments