Skip to content

Commit 35c05eb

Browse files
authoredDec 20, 2024··
chore: fix some method names in interface comment (#1625)
## Description fix some method names in interface comment Signed-off-by: toofooboo <[email protected]>
1 parent 3fe421b commit 35c05eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎crypto/keys/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type Keybase interface {
2929
// ImportPrivKey using Armored private key string. Decrypts armor with decryptPassphrase, and stores locally using encryptPassphrase
3030
ImportPrivKey(armor, decryptPassphrase, encryptPassphrase string) (KeyPair, error)
3131

32-
// ExportPrivKeyArmor using Armored private key string. Decrypts armor with decryptPassphrase, and encrypts result armor using the encryptPassphrase
32+
// ExportPrivKeyEncryptedArmor using Armored private key string. Decrypts armor with decryptPassphrase, and encrypts result armor using the encryptPassphrase
3333
ExportPrivKeyEncryptedArmor(address types.Address, decryptPassphrase, encryptPassphrase, hint string) (armor string, err error)
3434

3535
// ImportPrivateKeyObject using the raw unencrypted privateKey string and encrypts it to disk using encryptPassphrase

‎types/tx_msg.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Msg interface {
1818
// Get the canonical byte representation of the ProtoMsg.
1919
GetSignBytes() []byte
2020

21-
// Signers returns the addrs of signers that must sign.
21+
// GetSigners returns the addrs of signers that must sign.
2222
// CONTRACT: All signatures must be present to be valid.
2323
// CONTRACT: Returns addrs in some deterministic order.
2424
GetSigners() []Address
@@ -50,7 +50,7 @@ type ProtoMsg interface {
5050
// Get the canonical byte representation of the ProtoMsg.
5151
GetSignBytes() []byte
5252

53-
// Signers returns the addrs of signers that must sign.
53+
// GetSigners returns the addrs of signers that must sign.
5454
// CONTRACT: All signatures must be present to be valid.
5555
// CONTRACT: Returns addrs in some deterministic order.
5656
GetSigners() []Address

0 commit comments

Comments
 (0)
Please sign in to comment.