mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-07-25 22:13:12 +00:00
Accounting: Move flag to config and add basic test for accounting state (#284)
* Accounting: Add config flag (default to false) Also fix bug where query function is called twice when flag is set. * Accounting: test state update after store req
This commit is contained in:
@@ -213,9 +213,7 @@ proc processInput(rfd: AsyncFD, rng: ref BrHmacDrbgContext) {.async.} =
|
||||
echo &"{payload}"
|
||||
info "Hit store handler"
|
||||
|
||||
# TODO Use same flag as wakunode
|
||||
# To be fixed here: https://github.com/status-im/nim-waku/issues/271
|
||||
if false:
|
||||
if conf.swap:
|
||||
node.mountSwap()
|
||||
|
||||
await node.query(HistoryQuery(topics: @[DefaultContentTopic]), storeHandler)
|
||||
|
||||
Reference in New Issue
Block a user