diff --git a/src/main/java/dlt/client/tangle/hornet/model/LedgerWriter.java b/src/main/java/dlt/client/tangle/hornet/model/LedgerWriter.java index e850aa5..bd9598e 100644 --- a/src/main/java/dlt/client/tangle/hornet/model/LedgerWriter.java +++ b/src/main/java/dlt/client/tangle/hornet/model/LedgerWriter.java @@ -123,7 +123,7 @@ public void createMessage(String index, String data) { connection.setDoOutput(true); String requestBody = String.format( - "{\"index\": \"%s\",\"payload\": %s}", + "{\"index\": \"%s\",\"data\": %s}", index, data );