Skip to content

Instantly share code, notes, and snippets.

@fguisso
Created August 27, 2020 13:41
Show Gist options
  • Save fguisso/7e16f867bf04d5a6341b7fcd4acc4645 to your computer and use it in GitHub Desktop.
Save fguisso/7e16f867bf04d5a6341b7fcd4acc4645 to your computer and use it in GitHub Desktop.
// new vspd request
if req.vspPubkey == "" {
return nil, status.Errorf(codes.InvalidArgument, "vsp pubkey can not be null")
}
if req.vspHost == "" {
return nil, status.Errorf(codes.InvalidArgument, "vsp host can not be null")
}
vspServer, err := vsp.New(req.vspHost, req.vspPubkey, req.Account, req.Account, nil, s.wallet, params)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment