mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
feat: add retries for swap refund (#1914)
* feat: add retries for swap refund * chore: address feedback
This commit is contained in:
parent
87146bf80b
commit
1fde06a61d
2 changed files with 67 additions and 33 deletions
|
|
@ -756,7 +756,7 @@ func (api *api) RefundSwap(refundSwapRequest *RefundSwapRequest) error {
|
|||
if api.svc.GetSwapsService() == nil {
|
||||
return errors.New("SwapsService not started")
|
||||
}
|
||||
return api.svc.GetSwapsService().RefundSwap(refundSwapRequest.SwapId, refundSwapRequest.Address)
|
||||
return api.svc.GetSwapsService().RefundSwap(refundSwapRequest.SwapId, refundSwapRequest.Address, false)
|
||||
}
|
||||
|
||||
func (api *api) GetAutoSwapConfig() (*GetAutoSwapConfigResponse, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue