elixir-omg icon indicating copy to clipboard operation
elixir-omg copied to clipboard

Earlier detections of empty payments list in /transaction.create

Open T-Dnzt opened this issue 5 years ago • 1 comments

As discussed in this PR, it appears we could move the validation for sending an empty list of payments to the /transaction.create endpoint to an earlier step, so that it wouldn't have to reach the UtxoSelection module. We already have a check in place for too many outputs so it shouldn't be too hard to add one checking if the payments list is empty.

T-Dnzt avatar Mar 23 '20 09:03 T-Dnzt

Hey @T-Dnzt, So we are getting rid of this test since the transaction is no more created after the earlier detection?

souradeep-das avatar Apr 21 '20 23:04 souradeep-das