aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/common.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-19 02:48:35 +0800
committerobscuren <geffobscura@gmail.com>2014-11-19 02:48:35 +0800
commit675ba4d7eb7ab96fa74b803085f042a25f8d8d42 (patch)
treecc8ee5c2cd3f80e943a336d9820539ea2ebce4d2 /ethutil/common.go
parentf8d0cd9906a1ec4a4a1e95868a279312363f8b49 (diff)
parent5c958ec5f658709b648647449ce5349aa98b3d5d (diff)
downloaddexon-675ba4d7eb7ab96fa74b803085f042a25f8d8d42.tar
dexon-675ba4d7eb7ab96fa74b803085f042a25f8d8d42.tar.gz
dexon-675ba4d7eb7ab96fa74b803085f042a25f8d8d42.tar.bz2
dexon-675ba4d7eb7ab96fa74b803085f042a25f8d8d42.tar.lz
dexon-675ba4d7eb7ab96fa74b803085f042a25f8d8d42.tar.xz
dexon-675ba4d7eb7ab96fa74b803085f042a25f8d8d42.tar.zst
dexon-675ba4d7eb7ab96fa74b803085f042a25f8d8d42.zip
Merge branch 'tests' into poc8
Diffstat (limited to 'ethutil/common.go')
-rw-r--r--ethutil/common.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethutil/common.go b/ethutil/common.go
index e60f237cf..0a29cac6c 100644
--- a/ethutil/common.go
+++ b/ethutil/common.go
@@ -66,6 +66,7 @@ func CurrencyToString(num *big.Int) string {
denom = "Ada"
}
+ // TODO add comment clarifying expected behavior
if len(fin.String()) > 5 {
return fmt.Sprintf("%sE%d %s", fin.String()[0:5], len(fin.String())-5, denom)
}