Skip to content

Commit

Permalink
Change audit log report output
Browse files Browse the repository at this point in the history
  • Loading branch information
fireduck64 committed Aug 27, 2024
1 parent 63f3025 commit bf15a78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/AuditLog.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static String init(SnowBlossomClient client, ByteString msg)

}

public static String recordLog(SnowBlossomClient client, String msg)
public static ChainHash recordLog(SnowBlossomClient client, String msg)
throws Exception
{
return recordLog(client, ByteString.copyFrom(msg.getBytes()));
Expand All @@ -57,7 +57,7 @@ public static String recordLog(SnowBlossomClient client, String msg)
/**
* Send the next audit log record in a chaing of records
*/
public static String recordLog(SnowBlossomClient client, ByteString msg)
public static ChainHash recordLog(SnowBlossomClient client, ByteString msg)
throws Exception
{
client.getConfig().require("audit_log_source");
Expand Down Expand Up @@ -102,7 +102,7 @@ public static String recordLog(SnowBlossomClient client, ByteString msg)
client.getStub().submitTransaction(tx);
}

return continue_tx.toString();
return continue_tx;

}

Expand Down

0 comments on commit bf15a78

Please sign in to comment.