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

Commit

Permalink
Merge pull request #9 from tronprotocol/feature/add_api
Browse files Browse the repository at this point in the history
fix: rename.
  • Loading branch information
zergweak committed Mar 20, 2018
2 parents 0f3ab59 + 7cc8e5a commit 79c9b33
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ service Wallet {

};

rpc TransferAssert (TransferAssertContract) returns (Transaction) {
rpc TransferAsset (TransferAssetContract) returns (Transaction) {

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

}

Expand Down
4 changes: 2 additions & 2 deletions core/Contract.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ message TransferContract {
int64 amount = 3;
}

message TransferAssertContract {
bytes assert_name = 1;
message TransferAssetContract {
bytes asset_name = 1;
bytes owner_address = 2;
bytes to_address = 3;
int64 amount = 4;
Expand Down
2 changes: 1 addition & 1 deletion core/Tron.proto
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ message Transaction {
enum ContractType {
AccountCreateContract = 0;
TransferContract = 1;
TransferAssertContract = 2;
TransferAssetContract = 2;
VoteAssetContract = 3;
VoteWitnessContract = 4;
WitnessCreateContract = 5;
Expand Down

0 comments on commit 79c9b33

Please sign in to comment.