Skip to content

Commit

Permalink
added id and type
Browse files Browse the repository at this point in the history
  • Loading branch information
dabasov committed Jul 30, 2023
1 parent 1d0477f commit a1385b5
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 @@ -904,7 +904,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 a1385b5

Please sign in to comment.