commerceblock/mainstay

Service: issue with max fee

Opened this issue · 2 comments

Max fee not enough to confirm a transaction and no way to topup

Pretty edge-case that happens when the remaining balance in our mainstay is equal to the maxFee allowed. Might be better to block any attestations if funds are less than 5*maxFee as opposed to less than maxFee only.

Temporary solution given in 80f860b. Might need to revisit when we reconsider fee estimation in general #2 .