Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NODE-2308: Improve lease state changes format #44

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
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
14 changes: 6 additions & 8 deletions proto/waves/invoke_script_result.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,15 @@ message InvokeScriptResult {
Amount min_fee = 1;
}

message Lease {
message LeaseRef {
Recipient recipient = 1;
int64 amount = 2;
int64 nonce = 3;
bytes lease_id = 4;
bytes origin_transaction_id = 5;
int32 height = 6;
}

message LeaseCancel {
bytes lease_id = 1;
}


message ErrorMessage {
int32 code = 1;
string text = 2;
Expand All @@ -76,7 +74,7 @@ message InvokeScriptResult {
repeated Burn burns = 5;
ErrorMessage error_message = 6;
repeated SponsorFee sponsor_fees = 7;
repeated Lease leases = 8;
repeated LeaseCancel lease_cancels = 9;
repeated LeaseRef leases = 8;
repeated LeaseRef lease_cancels = 9;
repeated Invocation invokes = 10;
}