diff --git a/beem/rc.py b/beem/rc.py
index 6c903474ee1a01626735cf7ffc4f79f56690783c..746429fc5b8368a86afdd5bbcfb4b8b6bd5b0602 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):