signum-node icon indicating copy to clipboard operation
signum-node copied to clipboard

Wrong minimum fee for `sendMoneyEscrow` and `escrowSign`

Open deleterium opened this issue 3 years ago • 1 comments

It is stated at getConstants that escrow creation and escrow sign have minimum fee of 0.01 Signa. But trying to creating transactions, the node returns error if the fee is lower than 1 Signa.

getConstants

...
    {
      "value": 21,
      "description": "Advanced Payment",
      "subtypes": [
        {
          "value": 0,
          "description": "Escrow Creation",
          "minimumFeeConstantNQT": 1000000,
          "minimumFeeAppendagesNQT": 1000000
        },
        {
          "value": 1,
          "description": "Escrow Sign",
          "minimumFeeConstantNQT": 1000000,
          "minimumFeeAppendagesNQT": 1000000
        },
...

Response of a transaction with a fee lower than 1 Signa

{
    errorCode: 4
    errorDescription: "Escrow transaction must have a fee at least 1 burst"
    requestProcessingTime: 1
}

Expected result is that getConstant returns minimum fee of 1 Signa or the node accepts transaction with fee of 0,01 Signa.

deleterium avatar Oct 11 '22 19:10 deleterium