make gen
This commit is contained in:
parent
db5082552d
commit
5bdcc7d7e0
@ -205,6 +205,7 @@ func DecodePublishStorageDealsReturn(b []byte, nv network.Version) (PublishStora
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
switch av {
|
switch av {
|
||||||
|
|
||||||
case actors.Version0:
|
case actors.Version0:
|
||||||
|
@ -245,6 +245,7 @@ type publishStorageDealsReturn6 struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *publishStorageDealsReturn6) IsDealValid(index uint64) (bool, int, error) {
|
func (r *publishStorageDealsReturn6) IsDealValid(index uint64) (bool, int, error) {
|
||||||
|
|
||||||
set, err := r.ValidDeals.IsSet(index)
|
set, err := r.ValidDeals.IsSet(index)
|
||||||
if err != nil || !set {
|
if err != nil || !set {
|
||||||
return false, -1, err
|
return false, -1, err
|
||||||
|
@ -245,6 +245,7 @@ type publishStorageDealsReturn7 struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *publishStorageDealsReturn7) IsDealValid(index uint64) (bool, int, error) {
|
func (r *publishStorageDealsReturn7) IsDealValid(index uint64) (bool, int, error) {
|
||||||
|
|
||||||
set, err := r.ValidDeals.IsSet(index)
|
set, err := r.ValidDeals.IsSet(index)
|
||||||
if err != nil || !set {
|
if err != nil || !set {
|
||||||
return false, -1, err
|
return false, -1, err
|
||||||
|
Loading…
Reference in New Issue
Block a user