Skip to content

Commit f229a9f

Browse files
Add fee-deposit account to watched accounts list
1 parent 6c42ca7 commit f229a9f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ def __dir__(self):
5858

5959
utils.init_wallet(app)
6060

61+
# add fee-deposit account to watch list
62+
block_scanner.BlockScanner.add_watched_account(
63+
db.query_db2('select * from keys where type = "fee_deposit" ', one=True)[
64+
"public"
65+
]
66+
)
67+
6168
app.url_map.converters["decimal"] = utils.DecimalConverter
6269

6370
from .api import api as api_blueprint

0 commit comments

Comments
 (0)