diff --git a/contracts/transfer-data/src/state.rs b/contracts/transfer-data/src/state.rs index 687fd383ef..fd8e58576e 100644 --- a/contracts/transfer-data/src/state.rs +++ b/contracts/transfer-data/src/state.rs @@ -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 { @@ -181,7 +180,6 @@ impl TransferState { Some(()) } } - _ => None, } }