forked from LBRYCommunity/lbry-sdk
changed default maximum number of times an address should get used to 1 from 2, per lbrynaut review
This commit is contained in:
parent
1c57293e9c
commit
c5d1478c02
1 changed files with 2 additions and 2 deletions
|
@ -3136,10 +3136,10 @@ class Daemon(AuthJSONRPCServer):
|
||||||
'name': HierarchicalDeterministic.name,
|
'name': HierarchicalDeterministic.name,
|
||||||
'receiving': {
|
'receiving': {
|
||||||
'gap': receiving_gap or 20,
|
'gap': receiving_gap or 20,
|
||||||
'maximum_uses_per_address': receiving_max_uses or 2},
|
'maximum_uses_per_address': receiving_max_uses or 1},
|
||||||
'change': {
|
'change': {
|
||||||
'gap': change_gap or 6,
|
'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')
|
ledger = self.wallet.get_or_create_ledger('lbc_mainnet')
|
||||||
if seed or private_key or public_key:
|
if seed or private_key or public_key:
|
||||||
|
|
Loading…
Add table
Reference in a new issue