Skip to content

Commit d734ff6

Browse files
committed
f Update test to use non-dust amount
1 parent bc5c8af commit d734ff6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tests/functional_tests.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ fn channel_full_cycle() {
172172
};
173173

174174
println!("\nB receive_payment");
175-
let invoice = node_b.receive_payment(Some(1000), &"asdf", 9217).unwrap();
175+
let invoice = node_b.receive_payment(Some(1000000), &"asdf", 9217).unwrap();
176176

177177
println!("\nA send_payment");
178178
node_a.send_payment(invoice).unwrap();
@@ -189,9 +189,10 @@ fn channel_full_cycle() {
189189

190190
generate_blocks_and_wait(1);
191191
node_a.sync_wallets().unwrap();
192+
node_b.sync_wallets().unwrap();
192193

193194
assert!(node_a.on_chain_balance().unwrap().get_spendable() > 90000);
194-
assert_eq!(node_b.on_chain_balance().unwrap().get_spendable(), 100000);
195+
assert_eq!(node_b.on_chain_balance().unwrap().get_spendable(), 101000);
195196

196197
node_a.stop().unwrap();
197198
println!("\nA stopped");

0 commit comments

Comments
 (0)