Skip to content

Commit 30d84c6

Browse files
committed
Add PurgePrivateData to MockStub
Signed-off-by: Samuel Venzi <samuel.venzi@me.com>
1 parent c2e4e8a commit 30d84c6

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)