File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ describe('Train ERC20 contract', () => {
309309 expect ( htlc . sender ) . to . equal ( user1 . address ) ;
310310 expect ( htlc . srcReceiver ) . to . equal ( srcReceiver ) ;
311311 expect ( htlc . timelock ) . to . equal ( timelock ) ;
312- expect ( htlc . claimed ) . to . equal ( 190 ) ;
312+ expect ( htlc . claimed ) . to . equal ( 17890 ) ;
313313 } ) ;
314314 } ) ;
315315
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ describe('Train native tests', () => {
252252
253253 const htlc = await train . getHTLCDetails ( Id ) ;
254254 expect ( htlc . amount ) . to . equal ( value ) ;
255- expect ( htlc . hashlock ) . to . equal ( '0x0100000000000000000000000000000000000000000000000000000000000001 ' ) ;
255+ expect ( htlc . hashlock ) . to . equal ( '0x0100000000000000000000000000000000000000000000000000000000000011 ' ) ;
256256 expect ( htlc . secret ) . to . equal ( 1n ) ;
257257 expect ( htlc . sender ) . to . equal ( user1 . address ) ;
258258 expect ( htlc . srcReceiver ) . to . equal ( srcReceiver ) ;
You can’t perform that action at this time.
0 commit comments