Skip to content

Commit 4dc554e

Browse files
authored
chore(pkg): fix some function names in comment (#4905)
Signed-off-by: binchengqu <[email protected]>
1 parent 2f2ef4a commit 4dc554e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/settlement/swap/chequebook/chequebook.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ type Service interface {
6161
Issue(ctx context.Context, beneficiary common.Address, amount *big.Int, sendChequeFunc SendChequeFunc) (*big.Int, error)
6262
// LastCheque returns the last cheque we issued for the beneficiary.
6363
LastCheque(beneficiary common.Address) (*SignedCheque, error)
64-
// LastCheque returns the last cheques for all beneficiaries.
64+
// LastCheques returns the last cheques for all beneficiaries.
6565
LastCheques() (map[common.Address]*SignedCheque, error)
6666
}
6767

@@ -284,7 +284,7 @@ func keyBeneficiary(key []byte, prefix string) (beneficiary common.Address, err
284284
return common.HexToAddress(split[1]), nil
285285
}
286286

287-
// LastCheque returns the last cheques for all beneficiaries.
287+
// LastCheques returns the last cheques for all beneficiaries.
288288
func (s *service) LastCheques() (map[common.Address]*SignedCheque, error) {
289289
result := make(map[common.Address]*SignedCheque)
290290
err := s.store.Iterate(lastIssuedChequeKeyPrefix, func(key, val []byte) (stop bool, err error) {

0 commit comments

Comments
 (0)