diff --git a/action/protocol/staking/ethabi/v3/stake_candidatebyid.go b/action/protocol/staking/ethabi/v3/stake_candidatebyid.go index aee44d9c85..e5c8837d8b 100644 --- a/action/protocol/staking/ethabi/v3/stake_candidatebyid.go +++ b/action/protocol/staking/ethabi/v3/stake_candidatebyid.go @@ -120,7 +120,7 @@ func NewCandidateByIDStateContext(data []byte, methodABI *abi.Method, apiMethod return nil, err } return &stakingComm.CandidateByAddressStateContext{ - &protocol.BaseStateContext{ + BaseStateContext: &protocol.BaseStateContext{ Parameter: &protocol.Parameters{ MethodName: methodBytes, Arguments: [][]byte{argumentsBytes},