good morning!!!!

Skip to content
Snippets Groups Projects
Commit 5ec62a51 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

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
...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment