Fixed small bug and test.

This commit is contained in:
Revertron
2021-03-16 21:59:51 +01:00
parent fb53d775a1
commit a06390009e
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ mod tests {
}
let bus2 = bus.clone();
thread::spawn(move || {
bus2.lock().unwrap().post(Event::BlockchainChanged);
bus2.lock().unwrap().post(Event::BlockchainChanged { index: 1 });
});
let guard = string.lock().unwrap();