1
0

qml: add show seed on WalletDetails.qml

This commit is contained in:
Sander van Grieken
2023-01-09 11:51:33 +01:00
parent 3271eadbd2
commit becd46fbf6
2 changed files with 47 additions and 0 deletions

View File

@@ -316,6 +316,13 @@ class QEWallet(AuthMixin, QObject, QtEventListener):
def hasSeed(self):
return self.wallet.has_seed()
@pyqtProperty(str, notify=dataChanged)
def seed(self):
try:
return self.wallet.get_seed(self.password)
except:
return ''
@pyqtProperty(str, notify=dataChanged)
def txinType(self):
if self.wallet.wallet_type == 'imported':