At the moment, prepare_redeem_onchain_funds returns NodeError::generic("Insufficient funds to pay fees") when funds are not enough to pay for onchain fees. It would be useful if a specific error (e.g. NodeError:InsufficientFundsForFees) was returned so that SDK integrators could react without having to parse the error string.
At the moment,
prepare_redeem_onchain_funds
returnsNodeError::generic("Insufficient funds to pay fees")
when funds are not enough to pay for onchain fees. It would be useful if a specific error (e.g.NodeError:InsufficientFundsForFees
) was returned so that SDK integrators could react without having to parse the error string.