diff --git a/graphenej/src/main/java/cy/agorise/graphenej/api/calls/SetSubscribeCallback.java b/graphenej/src/main/java/cy/agorise/graphenej/api/calls/SetSubscribeCallback.java index 66472d7..d0797a2 100644 --- a/graphenej/src/main/java/cy/agorise/graphenej/api/calls/SetSubscribeCallback.java +++ b/graphenej/src/main/java/cy/agorise/graphenej/api/calls/SetSubscribeCallback.java @@ -19,7 +19,7 @@ public class SetSubscribeCallback implements ApiCallable { @Override public ApiCall toApiCall(int apiId, long sequenceId) { ArrayList subscriptionParams = new ArrayList<>(); - subscriptionParams.add(String.format("%d", sequenceId)); + subscriptionParams.add(new Long(sequenceId)); subscriptionParams.add(clearFilter); return new ApiCall(apiId, RPC.CALL_SET_SUBSCRIBE_CALLBACK, subscriptionParams, RPC.VERSION, sequenceId); }