Skip to content
Browse files

Deal with bitcoin 0.4 addrIncoming

  • Loading branch information...
1 parent 9a7801f commit 29bba5870fe4d97d62a45e9e3a21596dc4d12a4e @gavinandresen gavinandresen committed Jul 13, 2011
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)

0 comments on commit 29bba58

Please sign in to comment.
Something went wrong with that request. Please try again.