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() {
172172 } ;
173173
174174 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 ( ) ;
176176
177177 println ! ( "\n A 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 ! ( "\n A stopped" ) ;
You can’t perform that action at this time.
0 commit comments