Skip to content

Commit 317ff28

Browse files
committed
fix list_unspents_vanilla::success test
1 parent 83320f2 commit 317ff28

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/wallet/test/list_unspents_vanilla.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ fn success() {
1818
assert!(bak_info_after.is_none());
1919
assert_eq!(unspent_list.len(), 0);
2020

21+
stop_mining();
22+
2123
send_to_address(test_get_address(&wallet));
2224

2325
// one unspent, no confirmations
@@ -26,7 +28,7 @@ fn success() {
2628
let unspent_list = test_list_unspents_vanilla(&wallet, &online, Some(0));
2729
assert_eq!(unspent_list.len(), 1);
2830

29-
mine(false);
31+
mine(true);
3032

3133
// one unspent, 1 confirmation
3234
let unspent_list = test_list_unspents_vanilla(&wallet, &online, None);

0 commit comments

Comments
 (0)