Skip to content

Commit

Permalink
fix typo in GetInstalled function name (#211)
Browse files Browse the repository at this point in the history
Method `GetInstalled` must request `GetInstalledChaincodePackage`
function, not `QueryInstalledChaincodes`

Signed-off-by: Ivan <TaoGunner@gmail.com>
  • Loading branch information
TaoGunner authored Nov 28, 2024
1 parent 790aa9f commit 8076aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chaincode/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (p *Peer) GetInstalled(ctx context.Context, packageID string) ([]byte, erro
return nil, err
}

signedProposal, err := p.newSignedProposal(lifecycleChaincodeName, queryInstalledTransactionName, proposal.WithArguments(getInstalledArgsBytes))
signedProposal, err := p.newSignedProposal(lifecycleChaincodeName, getInstalledTransactionName, proposal.WithArguments(getInstalledArgsBytes))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 8076aa4

Please sign in to comment.