Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Deal with bitcoin 0.4 addrIncoming

  • Loading branch information...
commit 29bba5870fe4d97d62a45e9e3a21596dc4d12a4e 1 parent 9a7801f
@gavinandresen gavinandresen authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  deserialize.py
View
2  deserialize.py
@@ -25,6 +25,8 @@ def deserialize_CAddress(d):
def parse_setting(setting, vds):
if setting[0] == "f": # flag (boolean) settings
return str(vds.read_boolean())
+ elif setting == "addrIncoming":
+ return "" # bitcoin 0.4 purposely breaks addrIncoming setting in encrypted wallets.
elif setting[0:4] == "addr": # CAddress
d = parse_CAddress(vds)
return deserialize_CAddress(d)
Please sign in to comment.
Something went wrong with that request. Please try again.