Skip to content

Commit

Permalink
fix pool status
Browse files Browse the repository at this point in the history
  • Loading branch information
tpkeeper committed Feb 17, 2024
1 parent ae40312 commit 960756a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func startCmd() *cobra.Command {
icaPoolHostChannel := make(map[string]string)

for _, value := range icaPoolsRes.IcaPoolList {
if value.Status == stafiHubXLedgerTypes.IcaPoolStatusSetWithdrawal || value.Status == stafiHubXLedgerTypes.IcaPoolStatusSetWithdrawal+1 {
if value.Status >= stafiHubXLedgerTypes.IcaPoolStatusSetWithdrawal {
icaPoolsMap[value.DelegationAccount.Address] = value.WithdrawalAccount.Address
icaPoolHostChannel[value.DelegationAccount.Address] = value.DelegationAccount.HostChannelId
}
Expand Down

0 comments on commit 960756a

Please sign in to comment.