File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ fn channel_full_cycle() {
172
172
} ;
173
173
174
174
println ! ( "\n B 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 ( ) ;
176
176
177
177
println ! ( "\n A send_payment" ) ;
178
178
node_a. send_payment ( invoice) . unwrap ( ) ;
@@ -189,9 +189,10 @@ fn channel_full_cycle() {
189
189
190
190
generate_blocks_and_wait ( 1 ) ;
191
191
node_a. sync_wallets ( ) . unwrap ( ) ;
192
+ node_b. sync_wallets ( ) . unwrap ( ) ;
192
193
193
194
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 ) ;
195
196
196
197
node_a. stop ( ) . unwrap ( ) ;
197
198
println ! ( "\n A stopped" ) ;
You can’t perform that action at this time.
0 commit comments