diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-13 01:05:33 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-13 01:05:33 +0800 |
commit | 8e24378cc1acb074b56de75bf0baf6feb7927677 (patch) | |
tree | 71f866652de6b45da5ad4403b88f5def9a684e36 /common/size.go | |
parent | 7d69679935ff8c04aebb60f27074f08c5e84ac95 (diff) | |
parent | 8fe01b4bfa28ad5a1fdde7f9837e8f982843389a (diff) | |
download | dexon-8e24378cc1acb074b56de75bf0baf6feb7927677.tar dexon-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.gz dexon-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.bz2 dexon-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.lz dexon-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.xz dexon-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.zst dexon-8e24378cc1acb074b56de75bf0baf6feb7927677.zip |
Merge branch 'release/0.9.20'
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" |