Skip to content

Commit 264587b

Browse files
authored
Merge pull request #52 from hyperledger-labs/develop
Add PurgePrivateData to MockStub
2 parents 995dfb2 + 30d84c6 commit 264587b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mock/mockstub.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@ func (stub *MockStub) GetPrivateDataHash(collection, key string) ([]byte, error)
188188
return nil, errors.New("Not Implemented")
189189
}
190190

191+
// PurgePrivateData ...
192+
func (stub *MockStub) PurgePrivateData(collection, key string) error {
193+
return errors.New("Not Implemented")
194+
}
195+
191196
// PutPrivateData ...
192197
func (stub *MockStub) PutPrivateData(collection string, key string, value []byte) error {
193198
m, in := stub.PvtState[collection]

0 commit comments

Comments
 (0)