Skip to content

Commit

Permalink
Fix func name inside bdd test
Browse files Browse the repository at this point in the history
bddtests/chaincode.go: createPropsalID --> createProposalID.

Change-Id: Ifa5823b3c7de14aec962ec148c869881740d8908
Signed-off-by: Baohua Yang <baohyang@cn.ibm.com>
  • Loading branch information
yeasy committed Dec 14, 2016
1 parent 4c63856 commit da7914d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bddtests/chaincode.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func createChaincodeSpec(ccType string, path string, args [][]byte) *pb.Chaincod

}

func createPropsalID() string {
func createProposalID() string {
return util.GenerateUUID()
}

Expand All @@ -49,7 +49,7 @@ func createProposalForChaincode(ccChaincodeDeploymentSpec *pb.ChaincodeDeploymen
CtorMsg: &pb.ChaincodeInput{Args: [][]byte{[]byte("deploy"), []byte("default"), ccDeploymentSpecBytes}}}
lcChaincodeInvocationSpec := &pb.ChaincodeInvocationSpec{ChaincodeSpec: lcChaincodeSpec}

uuid := createPropsalID()
uuid := createProposalID()

// make proposal
return putils.CreateChaincodeProposal(uuid, util.GetTestChainID(), lcChaincodeInvocationSpec, creator)
Expand Down

0 comments on commit da7914d

Please sign in to comment.