Skip to content

Commit

Permalink
Merge pull request #35 from kunta-labs/development
Browse files Browse the repository at this point in the history
added balance check on input tx
  • Loading branch information
Jovonni authored Aug 5, 2020
2 parents ce2efe3 + 69c28d0 commit 7c2f07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ macro_rules! transaction_input_logic {
println!("input: amount_i32_partner: {} ", amount_i32_partner.clone().unwrap());

// balance check balance >= tx amt
if( amount_i32_account.clone().unwrap() < partner_tx_amount_parse_result.clone().unwrap() ){
if( amount_i32_partner.clone().unwrap() < partner_tx_amount_parse_result.clone().unwrap() ){
return $state;
} else {}

Expand Down

0 comments on commit 7c2f07a

Please sign in to comment.