good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
open
bor
Commits
5ec62a51
Commit
5ec62a51
authored
10 years ago
by
Jeffrey Wilcke
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop
parents
2784e256
8845fb7e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ethutil/common.go
+12
-0
12 additions, 0 deletions
ethutil/common.go
with
12 additions
and
0 deletions
ethutil/common.go
+
12
−
0
View file @
5ec62a51
...
@@ -3,8 +3,20 @@ package ethutil
...
@@ -3,8 +3,20 @@ package ethutil
import
(
import
(
"fmt"
"fmt"
"math/big"
"math/big"
"runtime"
)
)
func
IsWindows
()
bool
{
return
runtime
.
GOOS
==
"windows"
}
func
WindonizePath
(
path
string
)
string
{
if
string
(
path
[
0
])
==
"/"
&&
IsWindows
()
{
path
=
path
[
1
:
]
}
return
path
}
// The different number of units
// The different number of units
var
(
var
(
Douglas
=
BigPow
(
10
,
42
)
Douglas
=
BigPow
(
10
,
42
)
...
...
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