Skip to content

Commit

Permalink
Add PurgePrivateData to MockStub
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Venzi <[email protected]>
  • Loading branch information
samuelvenzi committed Dec 4, 2024
1 parent c2e4e8a commit 30d84c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mock/mockstub.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@ func (stub *MockStub) GetPrivateDataHash(collection, key string) ([]byte, error)
return nil, errors.New("Not Implemented")
}

// PurgePrivateData ...
func (stub *MockStub) PurgePrivateData(collection, key string) error {
return errors.New("Not Implemented")
}

// PutPrivateData ...
func (stub *MockStub) PutPrivateData(collection string, key string, value []byte) error {
m, in := stub.PvtState[collection]
Expand Down

0 comments on commit 30d84c6

Please sign in to comment.