Skip to content

Commit 5041335

Browse files
committed
chore: fix some function names in comment
Signed-off-by: clonemycode <clonecode@aliyun.com>
1 parent 0857a45 commit 5041335

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

.changelog/6212.trivial.md

Whitespace-only changes.

go/oasis-node/cmd/keymanager/keymanager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ func verifyPolicyFromFlags() error {
353353
return nil
354354
}
355355

356-
// / unmarshalPolicyChor checks whether given CBOR is a valid secrets.PolicySGX struct.
356+
// unmarshalPolicyCBOR checks whether given CBOR is a valid secrets.PolicySGX struct.
357357
func unmarshalPolicyCBOR(pb []byte) (*secrets.PolicySGX, error) {
358358
var p *secrets.PolicySGX = &secrets.PolicySGX{}
359359
if err := cbor.Unmarshal(pb, p); err != nil {

go/runtime/host/sandbox/host.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (h *sandboxHost) ID() common.Namespace {
8181
return h.id
8282
}
8383

84-
// GetInfo implements host.Runtime.
84+
// GetActiveVersion implements host.Runtime.
8585
func (h *sandboxHost) GetActiveVersion() (*version.Version, error) {
8686
h.RLock()
8787
defer h.RUnlock()

0 commit comments

Comments
 (0)