miguelmota / ethereum-development-with-go-book

📖 A little guide book on Ethereum Development with Go (golang)
https://goethereumbook.org
Other
1.74k stars 427 forks source link

Update blocks.go #29

Closed aniket223 closed 5 years ago

aniket223 commented 5 years ago

When using fmt.Println(block.Time().Uint64()) gives an error so which says type uint 64 has no field or method uint64 but when change it to fmt.Println(block.Time()) it gives the desired time.

miguelmota commented 5 years ago

👍