diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-11 17:59:35 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-11 17:59:35 +0800 |
commit | 5176fbc6faaa5e7f0305ad7f2b896c092781deaa (patch) | |
tree | 4d6a6e160deaf11d4bb6296870e11f299b7b9bf0 /common/size.go | |
parent | 6674ea8d67012a8ad1227738c69b8997962fe141 (diff) | |
parent | 6ecba12650f2d20eded5f4f09fb312d84e81d909 (diff) | |
download | dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.gz dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.bz2 dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.lz dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.xz dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.zst dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.zip |
Merge pull request #908 from obscuren/develop
core, eth, miner: improved tx removal & fatal error on db sync err
Diffstat (limited to 'common/size.go')
-rw-r--r-- | common/size.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/common/size.go b/common/size.go index 0d9dbf558..4ea7f7b11 100644 --- a/common/size.go +++ b/common/size.go @@ -44,12 +44,6 @@ func CurrencyToString(num *big.Int) string { ) switch { - case num.Cmp(Douglas) >= 0: - fin = new(big.Int).Div(num, Douglas) - denom = "Douglas" - case num.Cmp(Einstein) >= 0: - fin = new(big.Int).Div(num, Einstein) - denom = "Einstein" case num.Cmp(Ether) >= 0: fin = new(big.Int).Div(num, Ether) denom = "Ether" |