Commit adb66f7 1 parent bb5a53f commit adb66f7 Copy full SHA for adb66f7
File tree 2 files changed +5
-10
lines changed
2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,15 @@ limitations under the License.
17
17
package configtx
18
18
19
19
import (
20
+ "fmt"
21
+
22
+ "github.com/golang/protobuf/proto"
20
23
configtxorderer "github.com/hyperledger/fabric/common/configvalues/channel/orderer"
21
24
"github.com/hyperledger/fabric/common/util"
25
+ "github.com/hyperledger/fabric/msp"
22
26
cb "github.com/hyperledger/fabric/protos/common"
23
27
ab "github.com/hyperledger/fabric/protos/orderer"
24
28
"github.com/hyperledger/fabric/protos/utils"
25
-
26
- "fmt"
27
-
28
- "github.com/golang/protobuf/proto"
29
- "github.com/hyperledger/fabric/msp"
30
29
)
31
30
32
31
const (
Original file line number Diff line number Diff line change @@ -60,11 +60,7 @@ func createCmd(cf *ChannelCmdFactory) *cobra.Command {
60
60
}
61
61
62
62
func createChannelFromDefaults (cf * ChannelCmdFactory ) (* cb.Envelope , error ) {
63
- oTemplate := configtxtest .OrdererTemplate ()
64
- oOrgTemplate := configtxtest .OrdererOrgTemplate ()
65
- appOrgTemplate := configtxtest .ApplicationOrgTemplate ()
66
-
67
- chCrtTemp := configtx .NewCompositeTemplate (oTemplate , oOrgTemplate , appOrgTemplate )
63
+ chCrtTemp := configtxtest .CompositeTemplate ()
68
64
69
65
signer , err := mspmgmt .GetLocalMSP ().GetDefaultSigningIdentity ()
70
66
if err != nil {
You can’t perform that action at this time.
0 commit comments