Skip to content

Commit e756526

Browse files
Mariusz Reichertm-reichert
authored andcommitted
Adding phony salt to tests
1 parent 9beea74 commit e756526

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/common.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ pub struct TestRunner {
3838
daemon: Arc<Daemon>,
3939
mempool: Arc<RwLock<Mempool>>,
4040
metrics: Metrics,
41+
salt_rwlock: Arc<RwLock<String>>,
4142
}
4243

4344
impl TestRunner {
@@ -179,6 +180,8 @@ impl TestRunner {
179180
None, // TODO
180181
));
181182

183+
let salt_rwlock = Arc::new(RwLock::new(String::new("$")));
184+
182185
Ok(TestRunner {
183186
config,
184187
node,
@@ -188,6 +191,7 @@ impl TestRunner {
188191
daemon,
189192
mempool,
190193
metrics,
194+
salt_rwlock,
191195
})
192196
}
193197

0 commit comments

Comments
 (0)