-
-
Save shesek/452c5f7c30be4cbf3fa12893413f190f to your computer and use it in GitHub Desktop.
Patch Electrum v3.1.3 to fix remote networking thread crash vulnerability
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
559,564c559,568 | |
< if error is None and result > 0: | |
< i = params[0] | |
< fee = int(result*COIN) | |
< self.config.update_fee_estimates(i, fee) | |
< self.print_error("fee_estimates[%d]" % i, fee) | |
< self.notify('fee') | |
--- | |
> try: | |
> if error is None and result > 0: | |
> i = params[0] | |
> fee = int(result*COIN) | |
> self.config.update_fee_estimates(i, fee) | |
> self.print_error("fee_estimates[%d]" % i, fee) | |
> self.notify('fee') | |
> except: | |
> self.print_error("ignoring estimatefee exception") | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment