From 7b9ee9c75cbf285d18c1b4913cffe3798444ac30 Mon Sep 17 00:00:00 2001
From: Holger <holger@nahrstaedt.de>
Date: Wed, 10 Oct 2018 22:29:38 +0200
Subject: [PATCH] Fix resource_market_bytes calculation

---
 beem/rc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/beem/rc.py b/beem/rc.py
index 6c903474..746429fc 100644
--- a/beem/rc.py
+++ b/beem/rc.py
@@ -50,7 +50,7 @@ class RC(object):
         resource_count["resource_state_bytes"] += state_bytes_count
         resource_count["resource_new_accounts"] = new_account_op_count
         if market_op_count > 0:
-            resource_count["resource_market_bytes"] = market_op_count
+            resource_count["resource_market_bytes"] = tx_size
         return resource_count
 
     def comment_dict(self, comment_dict):
-- 
GitLab