feat: New config pow command to set the default PoW difficulty

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-06-07 19:54:40 +00:00
parent 53a2eb5bda
commit 51bd239024
8 changed files with 100 additions and 7 deletions

View File

@@ -106,7 +106,7 @@ impl CommandRunner for AnnounceArgs {
self.force_id,
)?
.dedup_tags()
.pow(options.pow)
.pow(options.pow.unwrap_or_default())
.build(user_pubk);