1 Star 0 Fork 0

陈文甲/fabric

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
missing_pvt_data_tracker.go 915 Bytes
Copy Edit Raw Blame History
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import ledger "github.com/hyperledger/fabric/core/ledger"
import mock "github.com/stretchr/testify/mock"
// MissingPvtDataTracker is an autogenerated mock type for the MissingPvtDataTracker type
type MissingPvtDataTracker struct {
mock.Mock
}
// GetMissingPvtDataInfoForMostRecentBlocks provides a mock function with given fields: maxBlocks
func (_m *MissingPvtDataTracker) GetMissingPvtDataInfoForMostRecentBlocks(maxBlocks int) (ledger.MissingPvtDataInfo, error) {
ret := _m.Called(maxBlocks)
var r0 ledger.MissingPvtDataInfo
if rf, ok := ret.Get(0).(func(int) ledger.MissingPvtDataInfo); ok {
r0 = rf(maxBlocks)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(ledger.MissingPvtDataInfo)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(int) error); ok {
r1 = rf(maxBlocks)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/venjia/fabric.git
git@gitee.com:venjia/fabric.git
venjia
fabric
fabric
v1.4.12

Search