Merge pull request #21 from wownero/daemon-fix

Force daemon account creation
master
xmrdsc 5 years ago committed by GitHub
commit 30b7f2eb3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -93,6 +93,9 @@ class Daemon:
def get_transfers_in(self, proposal):
account = self.get_accounts(proposal.id)
if not account and proposal.addr_donation:
account = self.create_account(proposal.id)
account = self.get_accounts(proposal.id)
if not account:
raise Exception('wallet error; pid not found found')
index = account['account_index']

Loading…
Cancel
Save