Skip to content

Commit

Permalink
chore: onset payment set on constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
naneey committed Nov 6, 2023
1 parent 6b8e89c commit d3857f8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ public class CPSTreasury extends ProposalData implements CPSTreasuryInterface {
public static final BigInteger MAX_ONSET_PAYMENT = BigInteger.valueOf(20);

public CPSTreasury() {
onsetPaymentPercentage.set(BigInteger.TEN);
if(onsetPaymentPercentage.get() == null){
onsetPaymentPercentage.set(BigInteger.TEN);
}
}

@Override
Expand Down

0 comments on commit d3857f8

Please sign in to comment.