Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
9a2720fb
Commit
9a2720fb
authored
Mar 22, 2017
by
Felix Lange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mobile: remove support for Go < 1.7
parent
c213fd1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
26 deletions
+5
-26
big.go
mobile/big.go
+5
-0
big_go1.7.go
mobile/big_go1.7.go
+0
-26
No files found.
mobile/big.go
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
)
}
mobile/big_go1.7.go
deleted
100644 → 0
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
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment