File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -2959,9 +2959,6 @@ protected void validateAttachment(Transaction transaction) throws SignumExceptio
29592959 {
29602960 throw new SignumException .NotValidException ("Invalid escrow creation amount" );
29612961 }
2962- if (transaction .getFeeNqt () < Constants .ONE_SIGNA ) {
2963- throw new SignumException .NotValidException ("Escrow transaction must have a fee at least 1 burst" );
2964- }
29652962 if (attachment .getRequiredSigners () < 1 || attachment .getRequiredSigners () > 10 ) {
29662963 throw new SignumException .NotValidException ("Escrow required signers much be 1 - 10" );
29672964 }
@@ -3042,8 +3039,8 @@ public TransactionDuplicationKey getDuplicationKey(Transaction transaction) {
30423039 @ Override
30433040 protected void validateAttachment (Transaction transaction ) throws SignumException .ValidationException {
30443041 Attachment .AdvancedPaymentEscrowSign attachment = (Attachment .AdvancedPaymentEscrowSign ) transaction .getAttachment ();
3045- if (transaction .getAmountNqt () != 0 || transaction . getFeeNqt () != Constants . ONE_SIGNA ) {
3046- throw new SignumException .NotValidException ("Escrow signing must have amount 0 and fee of 1 " );
3042+ if (transaction .getAmountNqt () != 0 ) {
3043+ throw new SignumException .NotValidException ("Escrow signing must have amount 0" );
30473044 }
30483045 if (attachment .getEscrowId () == null || attachment .getDecision () == null ) {
30493046 throw new SignumException .NotValidException ("Escrow signing requires escrow id and decision set" );
You can’t perform that action at this time.
0 commit comments