File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -299,8 +299,6 @@ pub mod Predifi {
299299 self . assert_valid_felt252 (option1 );
300300 self . assert_valid_felt252 (option2 );
301301
302-
303-
304302 // Collect pool creation fee (1 STRK)
305303 IPredifi :: collect_pool_creation_fee (ref self , creator_address );
306304
@@ -491,7 +489,7 @@ pub mod Predifi {
491489 let option2 : felt252 = pool . option2;
492490
493491 // Validation checks using SecurityTrait
494- self . assert_valid_pool_option (option , option1 , option2 );
492+ self . assert_valid_pool_option (option , option1 , option2 );
495493 self . assert_amount_within_limits (amount , pool . minBetAmount, pool . maxBetAmount);
496494
497495 // Transfer betting amount from the user to the contract
@@ -565,10 +563,10 @@ pub mod Predifi {
565563 // Input Validatioin
566564 self . assert_greater_than_zero (amount );
567565 self . assert_greater_than_zero (pool_id );
568-
566+
569567 let pool = self . pools. read (pool_id );
570568 self . assert_pool_exists (@ pool );
571-
569+
572570 // Validation checks using SecurityTrait
573571 self . assert_pool_not_suspended (@ pool );
574572 self . assert_min_stake_amount (amount );
You can’t perform that action at this time.
0 commit comments