Skip to content

Commit 503ce8e

Browse files
committed
Wallet daemon optimization removed non-required verify on save for non encrypted wallet
1 parent 745ceb6 commit 503ce8e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/qrl/daemon/helper/DaemonHelper.py

-3
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,6 @@ def get_address_item_from_json(addr_json: dict, encrypted: bool) -> AddressItem:
281281
return
282282

283283
def save_wallet(self, filename):
284-
if not self.verify_wallet():
285-
raise WalletException("Could not be saved. Invalid wallet.")
286-
287284
with open(filename, "wb") as outfile:
288285
address_items_asdict = [a._asdict() for a in self._address_items]
289286
for a in address_items_asdict:

0 commit comments

Comments
 (0)