Skip to content

Commit

Permalink
Removing unneeded log (#1092)
Browse files Browse the repository at this point in the history
* Removing unneeded log

* Removed one more unneeded log
  • Loading branch information
levonpetrosyan93 authored Dec 1, 2021
1 parent 7de8050 commit a7b91f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sigma/coin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ bool IntegerToDenomination(int64_t value, CoinDenomination& denom_out) {
bool IntegerToDenomination(int64_t value, CoinDenomination& denom_out, CValidationState &state) {
switch (value) {
default:
return state.DoS(100, error("CheckSigmaTransaction : invalid denomination value, unable to convert to enum"));
return false;
case 5 * CENT:
denom_out = CoinDenomination::SIGMA_DENOM_0_05;
break;
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2207,7 +2207,7 @@ bool CWalletTx::RelayWalletTransaction(CConnman* connman)
}
}
}
LogPrintf("CWalletTx::RelayWalletTransaction() --> invalid condition\n");

return false;
}

Expand Down

0 comments on commit a7b91f7

Please sign in to comment.