changed default maximum number of times an address should get used to 1 from 2, per lbrynaut review

This commit is contained in:
Lex Berezhny 2018-08-21 15:41:49 -04:00 committed by Jack Robison
parent 1c57293e9c
commit c5d1478c02
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -3136,10 +3136,10 @@ class Daemon(AuthJSONRPCServer):
'name': HierarchicalDeterministic.name,
'receiving': {
'gap': receiving_gap or 20,
'maximum_uses_per_address': receiving_max_uses or 2},
'maximum_uses_per_address': receiving_max_uses or 1},
'change': {
'gap': change_gap or 6,
'maximum_uses_per_address': change_max_uses or 2}
'maximum_uses_per_address': change_max_uses or 1}
}
ledger = self.wallet.get_or_create_ledger('lbc_mainnet')
if seed or private_key or public_key: