Skip to content

Commit 36b3467

Browse files
authored
chore: fix some function names in comment (#4570)
Signed-off-by: shenpengfeng <xinhangzhou@icloud.com>
1 parent 05e3ac4 commit 36b3467

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

action/evm_transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type (
2020
}
2121
)
2222

23-
// EffectiveGas returns the effective gas
23+
// EffectiveGasTip returns the effective gas
2424
func EffectiveGasTip(tx TxDynamicGas, baseFee *big.Int) (*big.Int, error) {
2525
tip := tx.GasTipCap()
2626
if baseFee == nil {

actpool/actioniterator/actioniterator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func NewActionIterator(accountActs map[string][]*action.SealedEnvelope) ActionIt
8080
}
8181
}
8282

83-
// LoadNext load next action of account of top action
83+
// loadNextActionForTopAccount load next action of account of top action
8484
func (ai *actionIterator) loadNextActionForTopAccount() {
8585
callerAddrStr := ai.heads[0].SenderAddress().String()
8686
if actions, ok := ai.accountActs[callerAddrStr]; ok && len(actions) > 0 {

api/coreservice.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ var (
264264
ErrArchiveNotSupported = errors.New("archive-mode not supported")
265265
)
266266

267-
// newcoreService creates a api server that contains major blockchain components
267+
// newCoreService creates a api server that contains major blockchain components
268268
func newCoreService(
269269
cfg Config,
270270
chain blockchain.Blockchain,

0 commit comments

Comments
 (0)