Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README example does not work as-is #177

Open
utdrmac opened this issue Jan 18, 2021 · 1 comment · May be fixed by #181
Open

README example does not work as-is #177

utdrmac opened this issue Jan 18, 2021 · 1 comment · May be fixed by #181

Comments

@utdrmac
Copy link
Contributor

utdrmac commented Jan 18, 2021

The example 'Getting A Block' in README.md does not compile copy/paste. The library is imported/aliased as goTezos but client.New() is called inside main(). This results in the following;

./utesting.go:8:2: imported and not used: "github.com/goat-systems/go-tezos/v4/rpc"
./utesting.go:22:14: undefined: client
@utdrmac
Copy link
Contributor Author

utdrmac commented Jan 20, 2021

example/transaction/transaction.go does not compile either. rpc.Transaction{} is missing Kind: rpc.Transaction member.

Also missing StorageLimit: "0" member

@utdrmac utdrmac linked a pull request Jan 22, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant