Skip to content

Commit

Permalink
Merge pull request #2661 from 0chain/hotfix/delegate-parameters
Browse files Browse the repository at this point in the history
added id and type
  • Loading branch information
dabasov committed Aug 8, 2023
2 parents 0890b6e + 5635d60 commit d30c4e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/go/0chain.net/smartcontract/storagesc/handler.go
Expand Up @@ -905,7 +905,10 @@ func (srh *StorageRestHandler) getUserStakePoolStat(w http.ResponseWriter, r *ht
var dps = stakepool.DelegatePoolStat{
ID: pool.PoolID,
DelegateID: pool.DelegateID,
Status: spenum.PoolStatus(pool.Status).String(),
UnStake: false,
ProviderId: pool.ProviderID,
ProviderType: pool.ProviderType,
Status: pool.Status.String(),
RoundCreated: pool.RoundCreated,
StakedAt: pool.StakedAt,
}
Expand Down

0 comments on commit d30c4e9

Please sign in to comment.