Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
lvs007 committed Sep 27, 2020
1 parent 20451c7 commit 1d41ebd
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@ public void adjustAllowance(byte[] address, long amount) {
public void adjustAllowance(AccountStore accountStore, byte[] accountAddress, long amount)
throws BalanceInsufficientException {
AccountCapsule account = accountStore.getUnchecked(accountAddress);
if (account == null) {
return;
}
long allowance = account.getAllowance();
if (amount == 0) {
return;
Expand Down

0 comments on commit 1d41ebd

Please sign in to comment.