diff --git a/jussi/validators.py b/jussi/validators.py index 9e5c08691ae5f89f80d98aad46a1543474dc5754..2827d1ff3846d03c7109e9ee092a3551eaf0bb7f 100644 --- a/jussi/validators.py +++ b/jussi/validators.py @@ -184,7 +184,7 @@ def limit_broadcast_transaction_request(request: JSONRPCRequest, limits=None) -> else: raise ValueError( f'Unknown request params type: {type(request.urn.params)} urn:{request.urn}') - ops = [op for op in request_params['operations'] if op[0] == 'custom_json'] + ops = [op for op in request_params['operations'] if op['type'] == 'custom_json'] if not ops: return blacklist_accounts = set()