Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #10 from tronprotocol/feature/add_api
Browse files Browse the repository at this point in the history
fix: rename ParticipateAssetIssueContract.
  • Loading branch information
mu1one authored Mar 20, 2018
2 parents bbeed13 + 6d7d52e commit 0d9e0fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ service Wallet {
rpc TransferAsset (TransferAssetContract) returns (Transaction) {

}
rpc TransferTokenToAsset (TransferTokenToAssetContract) returns (Transaction) {
rpc TransferTokenToAsset (ParticipateAssetIssueContract) returns (Transaction) {

}

Expand Down
6 changes: 3 additions & 3 deletions core/Contract.proto
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ message AssetIssueContract {
bytes url = 21;
}

message TransferTokenToAssetContract {
message ParticipateAssetIssueContract {
bytes owner_address = 1;
bytes to_address = 2;
bytes name = 3;
int32 trx_num = 4;
bytes asset_name = 3;
int32 amount = 4;
}

message DeployContract {
Expand Down
2 changes: 1 addition & 1 deletion core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ message Transaction {
AssetIssueContract = 6;
DeployContract = 7;
WitnessUpdateContract = 8;
TransferTokenToAssetContract = 9;
ParticipateAssetIssueContract = 9;
}
ContractType type = 1;
google.protobuf.Any parameter = 2;
Expand Down

0 comments on commit 0d9e0fd

Please sign in to comment.