Skip to content

Commit

Permalink
transfer-data: build trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszm committed Jan 10, 2024
1 parent 9f48dbe commit d8d957c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/transfer-data/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ impl TransferState {
match self.balances.get_mut(&address) {
Some(balance) => {
let (bal, underflow) = balance.overflowing_sub(value);

if underflow {
None
} else {
Expand All @@ -181,7 +180,6 @@ impl TransferState {
Some(())
}
}

_ => None,
}
}
Expand Down

0 comments on commit d8d957c

Please sign in to comment.