mirror of https://github.com/poanetwork/gecko.git
Merge branch 'master' into brady-goat
This commit is contained in:
commit
62f35b142e
|
@ -9,7 +9,7 @@ import (
|
|||
)
|
||||
|
||||
func TestAddDefaultSubnetValidator(t *testing.T) {
|
||||
expectedJSONString := `{"startTime":"0","endtime":"0","id":null,"destination":null,"delegationFeeRate":"0","payerNonce":"0"}`
|
||||
expectedJSONString := `{"startTime":"0","endTime":"0","id":null,"destination":null,"delegationFeeRate":"0","payerNonce":"0"}`
|
||||
args := AddDefaultSubnetValidatorArgs{}
|
||||
bytes, err := json.Marshal(&args)
|
||||
if err != nil {
|
||||
|
|
|
@ -44,7 +44,7 @@ type APIAccount struct {
|
|||
// is sent when this staker is done staking.
|
||||
type APIValidator struct {
|
||||
StartTime json.Uint64 `json:"startTime"`
|
||||
EndTime json.Uint64 `json:"endtime"`
|
||||
EndTime json.Uint64 `json:"endTime"`
|
||||
Weight *json.Uint64 `json:"weight,omitempty"`
|
||||
StakeAmount *json.Uint64 `json:"stakeAmount,omitempty"`
|
||||
ID ids.ShortID `json:"id"`
|
||||
|
|
Loading…
Reference in New Issue