At the moment minStake is almost not used. This change introduces limitation on promise settlement when minStake > 0.
Provider can't settle without having stake when hermes is setting non zero minimal stake.
Additionally refactored _settlePromise function to avoid "stack too deep" errors.
At the moment
minStake
is almost not used. This change introduces limitation on promise settlement whenminStake > 0
. Provider can't settle without having stake when hermes is setting non zero minimal stake.Additionally refactored
_settlePromise
function to avoid "stack too deep" errors.