From b715a988cfc41690bebb750a0b27ebe820615478 Mon Sep 17 00:00:00 2001 From: coderwander <770732124@qq.com> Date: Tue, 16 Apr 2024 11:09:12 +0800 Subject: [PATCH] Fix struct names Signed-off-by: coderwander <770732124@qq.com> --- core/scc/inprocstream.go | 2 +- gossip/privdata/test_utils.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/scc/inprocstream.go b/core/scc/inprocstream.go index f3d30a7a7d4..fcf581bb87b 100644 --- a/core/scc/inprocstream.go +++ b/core/scc/inprocstream.go @@ -21,7 +21,7 @@ func (e SendPanicFailure) Error() string { return fmt.Sprintf("send failure %s", string(e)) } -// PeerChaincodeStream interface for stream between Peer and chaincode instance. +// inProcStream interface for stream between Peer and chaincode instance. type inProcStream struct { recv <-chan *pb.ChaincodeMessage send chan<- *pb.ChaincodeMessage diff --git a/gossip/privdata/test_utils.go b/gossip/privdata/test_utils.go index 433303ac130..e64e70079ac 100644 --- a/gossip/privdata/test_utils.go +++ b/gossip/privdata/test_utils.go @@ -8,7 +8,7 @@ package privdata import "github.com/hyperledger/fabric/common/channelconfig" -// appCapabilities local interface used to generate mock for foreign interface. +// AppCapabilities local interface used to generate mock for foreign interface. // //go:generate mockery -dir ./ -name AppCapabilities -case underscore -output mocks/ type AppCapabilities interface {