mirror of
https://git.wownero.com/wownero/wownero-funding-system.git
synced 2024-08-15 00:53:45 +00:00
Merge pull request #21 from wownero/daemon-fix
Force daemon account creation
This commit is contained in:
commit
30b7f2eb3e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue