Skip to content

Commit

Permalink
Fix instantiate chaincode test case
Browse files Browse the repository at this point in the history
Change-Id: I99d2fc285b9d89c2b10e71a9faccb7e92889a4d3
Signed-off-by: Firas Qutishat <firas.qutishat@securekey.com>
  • Loading branch information
fqutishat committed Mar 29, 2017
1 parent 583a90a commit b29b07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/base_test_setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (setup *BaseSetupImpl) InstantiateCC(chain fabricClient.Chain, eventHub eve
args = append(args, "b")
args = append(args, "200")

transactionProposalResponse, txID, err := chain.SendInstantiateProposal(chainCodeID, chainID, args, chainCodePath, chainCodeVersion, nil)
transactionProposalResponse, txID, err := chain.SendInstantiateProposal(chainCodeID, chainID, args, chainCodePath, chainCodeVersion, []fabricClient.Peer{chain.GetPrimaryPeer()})
if err != nil {
return fmt.Errorf("SendInstantiateProposal return error: %v", err)
}
Expand Down

0 comments on commit b29b07d

Please sign in to comment.