goat-systems / go-tezos

Go Tezos Is a Go library that exposes and builds upon the Tezos RPC.
MIT License
71 stars 45 forks source link

Expose Constants #162

Closed utdrmac closed 3 years ago

utdrmac commented 3 years ago

GoTezos automatically retrieves the network constants each time you New(). As is, these constants are not exposed under the gt.* struct and cannot be used by apps using this library.

This PR simply uppercases the NetworkConstants to expose it for use by library users.

DefinitelyNotAGoat commented 3 years ago

Solved in V4 with the CurrentContents() function.