From 917dcb58ceff7e8f08231620942bd15468e8bc81 Mon Sep 17 00:00:00 2001 From: dsc Date: Mon, 18 Feb 2019 20:21:34 +0100 Subject: [PATCH] force daemon account creation --- funding/bin/daemon.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/funding/bin/daemon.py b/funding/bin/daemon.py index 5736a63..90bd566 100644 --- a/funding/bin/daemon.py +++ b/funding/bin/daemon.py @@ -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']