From 0b2213c08226a2cba58f79687fb6ae0d1ad7683b Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 5 Aug 2019 08:21:45 -0700 Subject: [PATCH] fix: correctly map commision field to % --- src/v2/components/Validators/Detail/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/components/Validators/Detail/index.jsx b/src/v2/components/Validators/Detail/index.jsx index 228bb6ad..5e73401d 100644 --- a/src/v2/components/Validators/Detail/index.jsx +++ b/src/v2/components/Validators/Detail/index.jsx @@ -133,7 +133,7 @@ const ValidatorsDetail = ({match}: {match: Match}) => { { label: 'commission', hint: '', - value: `${commission}%`, + value: `${(100 * (commission / 0xff)).toFixed(3)}%`, }, { label: 'details',