From 9f23161a53ad32d03d4ec464c48a819862dbf3e5 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Thu, 8 Dec 2022 16:57:39 +0100 Subject: [PATCH] commands: correct the max feerate value We should have a functional test for this... --- src/commands/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 2c5f1dd2..890da887 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -39,7 +39,7 @@ const DUST_OUTPUT_SATS: u64 = 5_000; const MAX_FEE: u64 = bitcoin::blockdata::constants::COIN_VALUE; // Assume that paying more than 1000sat/vb in feerate is a bug. -const MAX_FEERATE: u64 = bitcoin::blockdata::constants::COIN_VALUE; +const MAX_FEERATE: u64 = 1_000; // Timestamp in the header of the genesis block. Used for sanity checks. const MAINNET_GENESIS_TIME: u32 = 1231006505;