This commit is contained in:
zenground0 2022-04-13 22:16:05 -04:00
parent db5082552d
commit 5bdcc7d7e0
3 changed files with 3 additions and 0 deletions

View File

@ -205,6 +205,7 @@ func DecodePublishStorageDealsReturn(b []byte, nv network.Version) (PublishStora
if err != nil {
return nil, err
}
switch av {
case actors.Version0:

View File

@ -245,6 +245,7 @@ type publishStorageDealsReturn6 struct {
}
func (r *publishStorageDealsReturn6) IsDealValid(index uint64) (bool, int, error) {
set, err := r.ValidDeals.IsSet(index)
if err != nil || !set {
return false, -1, err

View File

@ -245,6 +245,7 @@ type publishStorageDealsReturn7 struct {
}
func (r *publishStorageDealsReturn7) IsDealValid(index uint64) (bool, int, error) {
set, err := r.ValidDeals.IsSet(index)
if err != nil || !set {
return false, -1, err