aboutsummaryrefslogtreecommitdiffstats
path: root/params/denomination.go
diff options
context:
space:
mode:
authorkiel barry <kiel.j.barry@gmail.com>2018-06-05 18:31:34 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-06-05 18:31:34 +0800
commitcbfb40b0aab093e1b612f3b16834894b2cc67882 (patch)
tree19cbd1397343459aabf211857fcc5df26f4cee6c /params/denomination.go
parent4cf2b4110e9942bdcba1b9b1d82b3ca8ff552f64 (diff)
downloaddexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.gz
dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.zst
dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.zip
params: fix golint warnings (#16853)
params: fix golint warnings
Diffstat (limited to 'params/denomination.go')
-rw-r--r--params/denomination.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/params/denomination.go b/params/denomination.go
index 9e1b52506..1a309827d 100644
--- a/params/denomination.go
+++ b/params/denomination.go
@@ -16,12 +16,12 @@
package params
+// These are the multipliers for ether denominations.
+// Example: To get the wei value of an amount in 'douglas', use
+//
+// new(big.Int).Mul(value, big.NewInt(params.Douglas))
+//
const (
- // These are the multipliers for ether denominations.
- // Example: To get the wei value of an amount in 'douglas', use
- //
- // new(big.Int).Mul(value, big.NewInt(params.Douglas))
- //
Wei = 1
Ada = 1e3
Babbage = 1e6