minor fix

This commit is contained in:
ThomasV 2017-07-16 08:07:47 +02:00
parent ec41ad4a98
commit b2116d87ea
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ class Blockchain(util.PrintError):
def save(self):
# recursively save parents if they have not been saved
if self.parent and not self.parent.is_saved():
if self.parent and not self.parent.is_saved:
self.parent.save()
open(self.path(), 'w+').close()
for h in self.headers: