mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 15:00:30 +01:00
Fix incorrect value stated in error message and use inputToBeAtLeast
This commit is contained in:
parent
a902a7b627
commit
85fc633430
1 changed files with 2 additions and 2 deletions
|
@ -220,11 +220,11 @@ public class ChangeParamValidator extends ProposalValidator implements Consensus
|
|||
case PHASE_VOTE_REVEAL:
|
||||
case PHASE_BREAK3:
|
||||
if (isMainnet)
|
||||
checkArgument(inputValueAsBlock >= 6, Res.get("validation.inputTooSmall", "5 blocks"));
|
||||
checkArgument(inputValueAsBlock >= 6, Res.get("validation.inputToBeAtLeast", "6 blocks"));
|
||||
break;
|
||||
case PHASE_RESULT:
|
||||
if (isMainnet)
|
||||
checkArgument(inputValueAsBlock >= 1, Res.get("validation.inputTooSmall", "1 block"));
|
||||
checkArgument(inputValueAsBlock >= 1, Res.get("validation.inputToBeAtLeast", "1 block"));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue