good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
Erigon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
a
Erigon
Commits
9a2720fb
Commit
9a2720fb
authored
8 years ago
by
Felix Lange
Browse files
Options
Downloads
Patches
Plain Diff
mobile: remove support for Go < 1.7
parent
c213fd1f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mobile/big.go
+5
-0
5 additions, 0 deletions
mobile/big.go
mobile/big_go1.7.go
+0
-26
0 additions, 26 deletions
mobile/big_go1.7.go
with
5 additions
and
26 deletions
mobile/big.go
+
5
−
0
View file @
9a2720fb
...
...
@@ -93,3 +93,8 @@ func (bi *BigInts) Set(index int, bigint *BigInt) error {
bi
.
bigints
[
index
]
=
bigint
.
bigint
return
nil
}
// GetString returns the value of x as a formatted string in some number base.
func
(
bi
*
BigInt
)
GetString
(
base
int
)
string
{
return
bi
.
bigint
.
Text
(
base
)
}
This diff is collapsed.
Click to expand it.
mobile/big_go1.7.go
deleted
100644 → 0
+
0
−
26
View file @
c213fd1f
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// Contains the wrappers from the math/big package that require Go 1.7 and above.
// +build go1.7
package
geth
// GetString returns the value of x as a formatted string in some number base.
func
(
bi
*
BigInt
)
GetString
(
base
int
)
string
{
return
bi
.
bigint
.
Text
(
base
)
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment