Skip to content

Commit

Permalink
Fix format of errors for strings
Browse files Browse the repository at this point in the history
  • Loading branch information
DocteurPing committed Mar 15, 2023
1 parent bf6ac84 commit 3a49d00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/masternodes/errors.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,11 @@ class DeFiErrors {
}

static Res GovVarApplyInvalidFactor(const CAmount ratio) {
return Res::Err("Factor cannot be more than or equal to the lowest scheme rate of %d", GetDecimalString(ratio * CENT));
return Res::Err("Factor cannot be more than or equal to the lowest scheme rate of %s", GetDecimalString(ratio * CENT));
}

static Res GovVarApplyDFIPActive(const std::string &str) {
return Res::Err("Cannot set block period while %d is active", str);
return Res::Err("Cannot set block period while %s is active", str);
}

static Res GovVarApplyBelowHeight() {
Expand Down

0 comments on commit 3a49d00

Please sign in to comment.