default certificates is a dict now

This commit is contained in:
hackrush 2018-07-21 22:32:57 +05:30 committed by Jack Robison
parent 4bd0806e58
commit 0fbf131df3
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -1,6 +1,6 @@
import os
import six
import json
import simplejson as json
from binascii import hexlify
from twisted.internet import defer
@ -100,7 +100,7 @@ class LbryWalletManager(BaseWalletManager):
'seed_version': json_dict['seed_version'],
'private_key': json_dict['master_private_keys']['x/'],
'public_key': json_dict['master_public_keys']['x/'],
'certificates': json_dict.get('claim_certificates', []),
'certificates': json_dict.get('claim_certificates', {}),
'receiving_gap': 20,
'change_gap': 6,
'receiving_maximum_uses_per_address': 2,