Skip to content

Commit

Permalink
Use ed448 gocore library instead of go-golidlocks on mobile devices +…
Browse files Browse the repository at this point in the history
… version typo fix (#450)

* new build constraints

* fix version typo
  • Loading branch information
error2215 authored Jun 5, 2023
1 parent c65846c commit 11111a4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crypto/crypto_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-core library. If not, see <http://www.gnu.org/licenses/>.

//go:build !nacl && !js && cgo
//go:build !nacl && !js && cgo && !android && !ios && !mobile

package crypto

Expand Down
3 changes: 1 addition & 2 deletions crypto/crypto_nocgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-core library. If not, see <http://www.gnu.org/licenses/>.

//go:build nacl || js || !cgo
// +build nacl js !cgo
//go:build nacl || js || !cgo || android || ios || mobile

package crypto

Expand Down
2 changes: 1 addition & 1 deletion crypto/signature_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-core library. If not, see <http://www.gnu.org/licenses/>.

//go:build !nacl && !js && cgo
//go:build !nacl && !js && cgo && !android && !ios && !mobile

package crypto

Expand Down
3 changes: 1 addition & 2 deletions crypto/signature_nocgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-core library. If not, see <http://www.gnu.org/licenses/>.

//go:build nacl || js || !cgo
// +build nacl js !cgo
//go:build nacl || js || !cgo || android || ios || mobile

package crypto

Expand Down
2 changes: 1 addition & 1 deletion node/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ func (c *Config) NodeName() string {
name += "/" + c.UserIdent
}
if c.Version != "" {
name += "/v" + c.Version
name += "/" + c.Version
}
name += "/" + runtime.GOOS + "-" + runtime.GOARCH
name += "/" + runtime.Version()
Expand Down

0 comments on commit 11111a4

Please sign in to comment.