Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/sdk/main/include/FileUpdateTransaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class FileUpdateTransaction : public Transaction<FileUpdateTransaction>
FileUpdateTransaction& setExpirationTime(const std::chrono::system_clock::time_point& expirationTime);

/**
* Set the new key(s) that must sign when mutating the file.
* Set the Keys that must sign when mutating the new file via FileAppendTransactions or FileUpdateTransactions.
*
* @param keys The keys that must sign any Transaction that edits the created file.
* @return A reference to this FileUpdateTransaction object with the newly-set keys.
Expand All @@ -82,8 +82,7 @@ class FileUpdateTransaction : public Transaction<FileUpdateTransaction>
FileUpdateTransaction& setKeys(const KeyList& keys);

/**
* Set the new contents of the file. The contents cannot exceed 4096 bytes. A FileAppendTransaction must be used to
* set larger contents.
* Set the new contents of the file by replacing the existing file contents. The contents cannot exceed 4096 bytes. To set larger contents, a FileAppendTransaction must be used.
*
* @param contents The new contents of the file.
* @return A reference to this FileUpdateTransaction object with the newly-set contents.
Expand All @@ -96,7 +95,7 @@ class FileUpdateTransaction : public Transaction<FileUpdateTransaction>
/**
* Set the new memo for the file.
*
* @param memo The new memo of the file.
* @param memo The new memo for the file.
* @return A reference to this FileUpdateTransaction object with the newly-set memo.
* @throws IllegalStateException If this FileUpdateTransaction is frozen.
*/
Expand Down