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

Set ChainID? #280

Closed
dangell7 opened this issue Oct 3, 2020 · 1 comment
Closed

Set ChainID? #280

dangell7 opened this issue Oct 3, 2020 · 1 comment
Labels
documentation question Further information is requested

Comments

@dangell7
Copy link

dangell7 commented Oct 3, 2020

So when I call the chainID in python I get 1111 however, when I call chain ID in swift I get 32414...

Can I set the chainID? or am I doing something wrong? I'm running a private chain

@dangell7
Copy link
Author

dangell7 commented Oct 3, 2020

I got it to work by setting the chainID after building the transaction but before sending

transaction?.transaction.UNSAFE_setChainID(1111)

@dangell7 dangell7 closed this as completed Oct 3, 2020
@skywinder skywinder added documentation question Further information is requested labels Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants