From 3ebc319a26e1c7bdebdd15b9b33f26fb9170662e Mon Sep 17 00:00:00 2001 From: Sosthene00 <674694@protonmail.ch> Date: Fri, 15 Mar 2024 12:39:17 +0100 Subject: [PATCH] Add DUST constant --- src/constants.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/constants.rs b/src/constants.rs index c49a64b..94721a8 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -1,4 +1,4 @@ -use serde::{Deserialize, Serialize}; +use bitcoin::Amount; type SecretKeyString = String; type PublicKeyString = String; @@ -10,6 +10,8 @@ pub const PSBT_SP_ADDRESS_KEY: &str = "address"; pub const NUMS: &str = "50929b74c1a04954b78b4b6035e97a5e078a5a0f28ec96d547bfee9ace803ac0"; +pub const DUST: Amount = Amount::from_sat(546); + pub struct LogEntry { // pub time_millis: i64, // pub level: i32,