Skip to content

Commit 24eef7d

Browse files
committed
Add Clone to config::Config
1 parent ac38367 commit 24eef7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub struct BitcoindConfig {
8383
pub poll_interval_secs: Duration,
8484
}
8585

86-
#[derive(Debug, Deserialize)]
86+
#[derive(Debug, Clone, Deserialize)]
8787
pub struct ScriptsConfig {
8888
#[serde(deserialize_with = "deserialize_fromstr")]
8989
pub deposit_descriptor: DepositDescriptor,
@@ -126,7 +126,7 @@ pub struct ManagerConfig {
126126
}
127127

128128
/// Static informations we require to operate
129-
#[derive(Debug, Deserialize)]
129+
#[derive(Debug, Clone, Deserialize)]
130130
pub struct Config {
131131
/// Everything we need to know to talk to bitcoind
132132
pub bitcoind_config: BitcoindConfig,

0 commit comments

Comments
 (0)