MCPcopy
hub / github.com/hyperledger/fabric / SignReturns

Method SignReturns

protoutil/fakes/signer_serializer.go:135–143  ·  view source on GitHub ↗
(result1 []byte, result2 error)

Source from the content-addressed store, hash-verified

133}
134
135func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error) {
136 fake.signMutex.Lock()
137 defer fake.signMutex.Unlock()
138 fake.SignStub = nil
139 fake.signReturns = struct {
140 result1 []byte
141 result2 error
142 }{result1, result2}
143}
144
145func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error) {
146 fake.signMutex.Lock()

Callers 2

TestGetSignedProposalFunction · 0.95

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by 2

TestGetSignedProposalFunction · 0.76