Skip to content

Commit 892033d

Browse files
authored
chore: fix some function names in comment (#460)
1 parent 33097bc commit 892033d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/signer/eth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func RecoverEthMessageSignerAddress(signature Signature, message []byte) (common
7676
return ecrypto.PubkeyToAddress(*ecdsaPubKey), nil
7777
}
7878

79-
// computeEthereumSignedMessageHash accepts an arbitrary message, prepends a known message,
79+
// ComputeEthereumSignedMessageHash accepts an arbitrary message, prepends a known message,
8080
// and hashes the result using keccak256. The known message added to the input before hashing is
8181
// "\x19Ethereum Signed Message:\n" + len(message).
8282
func ComputeEthereumSignedMessageHash(message []byte) []byte {

pkg/smart_wallet/factory_calldata.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func GetFactoryCallData(smartWalletConfig Config, ownerAddress common.Address, i
4848
return initCode, nil
4949
}
5050

51-
// GetKernelInitData returns the calldata needed call the factory
51+
// GetKernelFactoryCallData returns the calldata needed call the factory
5252
// to deploy a Zerodev Kernel smart account.
5353
func GetKernelFactoryCallData(owner common.Address, index decimal.Decimal, accountLogic, ecdsaValidator common.Address) ([]byte, error) {
5454
// Initialize Kernel Smart Account with default validation module and its calldata
@@ -68,7 +68,7 @@ func GetKernelFactoryCallData(owner common.Address, index decimal.Decimal, accou
6868
return callData, nil
6969
}
7070

71-
// GetKernelInitData returns the calldata needed call the factory
71+
// GetBiconomyFactoryCallData returns the calldata needed call the factory
7272
// to deploy a Biconomy smart account.
7373
func GetBiconomyFactoryCallData(owner common.Address, index decimal.Decimal, ecdsaValidator common.Address) ([]byte, error) {
7474
// Initialize SCW validation module with owner address

0 commit comments

Comments
 (0)