From 335baa347d955736582a05f0f69496f5a030a4f0 Mon Sep 17 00:00:00 2001 From: envestcc Date: Thu, 6 Jun 2024 12:56:03 +0800 Subject: [PATCH] fix lint error --- action/protocol/staking/ethabi/v3/stake_candidatebyid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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},