mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
signer: fix more incorrect prefixes of comments
This commit is contained in:
parent
d61b13b8cb
commit
0cca5b7e9e
3 changed files with 3 additions and 3 deletions
|
|
@ -65,7 +65,7 @@ type ExternalAPI interface {
|
||||||
EcRecover(ctx context.Context, data hexutil.Bytes, sig hexutil.Bytes) (common.Address, error)
|
EcRecover(ctx context.Context, data hexutil.Bytes, sig hexutil.Bytes) (common.Address, error)
|
||||||
// Version info about the APIs
|
// Version info about the APIs
|
||||||
Version(ctx context.Context) (string, error)
|
Version(ctx context.Context) (string, error)
|
||||||
// SignGnosisSafeTransaction signs/confirms a gnosis-safe multisig transaction
|
// SignGnosisSafeTx signs/confirms a gnosis-safe multisig transaction
|
||||||
SignGnosisSafeTx(ctx context.Context, signerAddress common.MixedcaseAddress, gnosisTx GnosisSafeTx, methodSelector *string) (*GnosisSafeTx, error)
|
SignGnosisSafeTx(ctx context.Context, signerAddress common.MixedcaseAddress, gnosisTx GnosisSafeTx, methodSelector *string) (*GnosisSafeTx, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ func (vs *ValidationMessages) Info(msg string) {
|
||||||
vs.Messages = append(vs.Messages, ValidationInfo{INFO, msg})
|
vs.Messages = append(vs.Messages, ValidationInfo{INFO, msg})
|
||||||
}
|
}
|
||||||
|
|
||||||
// getWarnings returns an error with all messages of type WARN of above, or nil if no warnings were present
|
// GetWarnings returns an error with all messages of type WARN of above, or nil if no warnings were present
|
||||||
func (v *ValidationMessages) GetWarnings() error {
|
func (v *ValidationMessages) GetWarnings() error {
|
||||||
var messages []string
|
var messages []string
|
||||||
for _, msg := range v.Messages {
|
for _, msg := range v.Messages {
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ import (
|
||||||
"github.com/ethereum/go-ethereum/crypto"
|
"github.com/ethereum/go-ethereum/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SignerUIAPI implements methods Clef provides for a UI to query, in the bidirectional communication
|
// UIServerAPI implements methods Clef provides for a UI to query, in the bidirectional communication
|
||||||
// channel.
|
// channel.
|
||||||
// This API is considered secure, since a request can only
|
// This API is considered secure, since a request can only
|
||||||
// ever arrive from the UI -- and the UI is capable of approving any action, thus we can consider these
|
// ever arrive from the UI -- and the UI is capable of approving any action, thus we can consider these
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue