aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/common.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <obscuren@users.noreply.github.com>2014-07-01 22:16:05 +0800
committerJeffrey Wilcke <obscuren@users.noreply.github.com>2014-07-01 22:16:05 +0800
commit29f613ef84ed39ccc1929dd1069f3576ade889f1 (patch)
tree0c12e6fe9e0214989401bb47a6d4503081fd47bc /ethutil/common.go
parent550407b0ec78b7026737d1abe28127da8c0c9063 (diff)
parentff5703fd9b089de67811af61de05637c62dc7a2c (diff)
downloadgo-tangerine-29f613ef84ed39ccc1929dd1069f3576ade889f1.tar
go-tangerine-29f613ef84ed39ccc1929dd1069f3576ade889f1.tar.gz
go-tangerine-29f613ef84ed39ccc1929dd1069f3576ade889f1.tar.bz2
go-tangerine-29f613ef84ed39ccc1929dd1069f3576ade889f1.tar.lz
go-tangerine-29f613ef84ed39ccc1929dd1069f3576ade889f1.tar.xz
go-tangerine-29f613ef84ed39ccc1929dd1069f3576ade889f1.tar.zst
go-tangerine-29f613ef84ed39ccc1929dd1069f3576ade889f1.zip
Merge pull request #28 from ethersphere/feature/keys
Feature/keys
Diffstat (limited to 'ethutil/common.go')
-rw-r--r--ethutil/common.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/ethutil/common.go b/ethutil/common.go
index f63ba5d83..6d88a1ed2 100644
--- a/ethutil/common.go
+++ b/ethutil/common.go
@@ -52,10 +52,3 @@ var (
Big32 = big.NewInt(32)
Big256 = big.NewInt(0xff)
)
-
-// Creates an ethereum address given the bytes and the nonce
-func CreateAddress(b []byte, nonce *big.Int) []byte {
- addrBytes := append(b, nonce.Bytes()...)
-
- return Sha3Bin(addrBytes)[12:]
-}