Skip to content

Commit

Permalink
make blobber ID mandatory (#602)
Browse files Browse the repository at this point in the history
Co-authored-by: Lz <[email protected]>
  • Loading branch information
boddumanohar and cnlangzi authored Oct 17, 2022
1 parent 46d060d commit e9d2dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zboxcore/sdk/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ func GetStakePoolInfo(blobberID string) (info *StakePoolInfo, err error) {
return nil, sdkNotInitialized
}
if blobberID == "" {
blobberID = client.GetClientID()
return nil, errors.New("", "blobber_id is required")
}

var b []byte
Expand Down

0 comments on commit e9d2dda

Please sign in to comment.