revert commit 4ba4611599 for relicencing

This commit is contained in:
ThomasV 2016-01-12 09:35:45 +01:00
parent d5aa6466c9
commit 58fe42cea2
1 changed files with 1 additions and 1 deletions

View File

@ -1462,7 +1462,7 @@ class Deterministic_Wallet(Abstract_Wallet):
return self.get_seed(password) return self.get_seed(password)
def change_gap_limit(self, value): def change_gap_limit(self, value):
assert isinstance(value, int), 'gap limit must be of type int, not of %s'%type(value) '''This method is not called in the code, it is kept for console use'''
if value >= self.gap_limit: if value >= self.gap_limit:
self.gap_limit = value self.gap_limit = value
self.storage.put('gap_limit', self.gap_limit) self.storage.put('gap_limit', self.gap_limit)