upercase to json property
@@ -48,8 +48,8 @@ type StakingResult struct {
// JSON convert result to JSON
func (r *StakingResult) JSON() interface{} {
result := make(map[string]interface{})
- result["staking"] = flowcli.NewStakingInfoFromValue(r.staking)
- result["delegation"] = flowcli.NewStakingInfoFromValue(r.delegation)
+ result["Staking"] = flowcli.NewStakingInfoFromValue(r.staking)
+ result["Delegation"] = flowcli.NewStakingInfoFromValue(r.delegation)
return result
}
