diff --git a/coreapi/v22.2.11/keymanager/api/api.go b/coreapi/v22.2.11/keymanager/api/api.go index 9cdf336b6..bfc305227 100644 --- a/coreapi/v22.2.11/keymanager/api/api.go +++ b/coreapi/v22.2.11/keymanager/api/api.go @@ -2,9 +2,10 @@ package api import ( - "github.com/oasisprotocol/nexus/coreapi/v22.2.11/consensus/api/transaction" "github.com/oasisprotocol/oasis-core/go/common" "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + + "github.com/oasisprotocol/nexus/coreapi/v22.2.11/consensus/api/transaction" ) const ( diff --git a/storage/oasis/nodeapi/cobalt/convert.go b/storage/oasis/nodeapi/cobalt/convert.go index 6f3c5b815..80a85d147 100644 --- a/storage/oasis/nodeapi/cobalt/convert.go +++ b/storage/oasis/nodeapi/cobalt/convert.go @@ -37,8 +37,8 @@ import ( stakingCobalt "github.com/oasisprotocol/nexus/coreapi/v21.1.1/staking/api" ) +// We must register non-damask method types with the damask 'transaction' module. var ( - // We must register non-damask method types with the damask 'transaction' module. // MethodPVSSCommit is the method name for a PVSS commitment. MethodPVSSCommit = transaction.NewMethodName(beaconCobalt.ModuleName, "PVSSCommit", beaconCobalt.PVSSCommit{})