From 885eeea8298182623e68a6639b26ddbde9b15065 Mon Sep 17 00:00:00 2001
From: Mahdi Yari <m.yary16@gmail.com>
Date: Fri, 7 Aug 2020 23:18:01 +0430
Subject: [PATCH] Update operations.js

---
 src/auth/serializer/src/operations.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/auth/serializer/src/operations.js b/src/auth/serializer/src/operations.js
index c7c4624..b5ccae9 100644
--- a/src/auth/serializer/src/operations.js
+++ b/src/auth/serializer/src/operations.js
@@ -411,7 +411,7 @@ let comment_options = new Serializer(
     author: string,
     permlink: string,
     max_accepted_payout: asset,
-    ["percent_" + hiveVar() ? "hbd" : "steem_dollars"]: uint16,
+    ["percent_" + (hiveVar() === "hive" ? "hbd" : "steem_dollars")]: uint16,
     allow_votes: bool,
     allow_curation_rewards: bool,
     extensions: set(static_variant([
-- 
GitLab