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

address complaints of flake8 in jmclient #837

Merged
merged 1 commit into from Mar 24, 2021
Merged

Conversation

AdamISZ
Copy link
Member

@AdamISZ AdamISZ commented Mar 21, 2021

First of 4 (probably) PRs to address flake8.

@chris-belcher please take a look at the change in wallet_service.py and also (not addressed here but just above that change from binascii.unhexlify to hextobin) there is an issue with the use of the return value of BitcoinCoreInterface.get_deser_from_gettransaction (it's not the same object type as before). I don't know why I didn't pick this up during that huge rebase (apart from the word 'huge', of course) at the time. I think we're going to find a couple more things like this when we go through it.

@chris-belcher
Copy link
Contributor

I looked at the parts you wanted me to look at (as discussed on IRC) and they all seem fine to me.

Curious why flake8 prefers hextobin() over the binascii function

@AdamISZ
Copy link
Member Author

AdamISZ commented Mar 22, 2021

Curious why flake8 prefers hextobin() over the binascii function

Oh it wasn't that, just that the binascii import had been removed so it was undefined there. (and as is probably obvious I've put hextobin/bintohex as wrappers in jmbase and used everywhere now).

@chris-belcher
Copy link
Contributor

I pulled the code and successfully sync'd some regtest wallets with it.

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 this pull request may close these issues.

None yet

3 participants