diff --git a/beem/steem.py b/beem/steem.py index a41db94a6da3cb6b400296a78714fee3106082fb..92e81e1c2e3fe6fc6f2513d6dfa4b604744f96aa 100644 --- a/beem/steem.py +++ b/beem/steem.py @@ -1604,7 +1604,10 @@ class Steem(object): "id": id, "prefix": self.prefix, }) - return self.finalizeOp(op, account, "posting", **kwargs) + if len(required_auths) > 0: + return self.finalizeOp(op, account, "active", **kwargs) + else: + return self.finalizeOp(op, account, "posting", **kwargs) def post(self, title, diff --git a/beembase/operations.py b/beembase/operations.py index 89dcb2ab087fbde53c70cb0b9b42cf1a996b2e9d..7965f0b6d34bc73f0a4ce559d4d21bfe8dd84a2d 100644 --- a/beembase/operations.py +++ b/beembase/operations.py @@ -394,7 +394,7 @@ class Custom_json(GrapheneObject): kwargs = args[0] if "json" in kwargs and kwargs["json"]: if (isinstance(kwargs["json"], dict) or isinstance(kwargs["json"], list)): - js = json.dumps(kwargs["json"]) + js = json.dumps(kwargs["json"], separators=(',',':')) else: js = kwargs["json"]