diff --git a/stader-cli/node/withdraw-sd.go b/stader-cli/node/withdraw-sd.go index 5034ff741..a005c4036 100644 --- a/stader-cli/node/withdraw-sd.go +++ b/stader-cli/node/withdraw-sd.go @@ -36,11 +36,17 @@ func WithdrawSd(c *cli.Context) error { if err != nil { return err } + if canWithdrawSdResponse.InsufficientWithdrawableSd { fmt.Println("Insufficient withdrawable SD!") return nil } + if canWithdrawSdResponse.InsufficientSdCollateral { + fmt.Println("Not enough excess SD collateral to withdraw") + return nil + } + sdStatusResponse, err := staderClient.GetSDStatus(big.NewInt(0)) if err != nil { return err