Skip to content

Commit

Permalink
Added get_producers example
Browse files Browse the repository at this point in the history
  • Loading branch information
maoueh committed Jan 19, 2022
1 parent 1994aae commit f1da6bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func toJson(v interface{}) string {
* API
* [Get Account](./example_api_get_account_test.go)
* [Get Chain Information](./example_api_get_info_test.go)
* [Get Producers](./example_api_get_producers_test.go)
* [Transfer Token](./example_api_transfer_eos_test.go)
* Decoding/Encoding
* [Decode Table Row](./example_abi_decode_test.go)
Expand Down
1 change: 0 additions & 1 deletion example_api_get_producers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ func ExampleAPI_GetProducers() {

fmt.Printf("Total Vote Weight: %.4f\n", resp.TotalProducerVoteWeight)
fmt.Printf("More: %s\n", resp.More)
// Output: any
}

0 comments on commit f1da6bf

Please sign in to comment.