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

Commit

Permalink
change getBalance to getAccount
Browse files Browse the repository at this point in the history
  • Loading branch information
zergweak committed Mar 21, 2018
2 parents 473587b + f1a1e24 commit 2836bdd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions api/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ option java_outer_classname = "GrpcAPI"; //Specify the class name of the generat

service Wallet {

rpc GetBalance (Account) returns (Account) {
rpc GetAccount (Account) returns (Account) {

};

rpc CreateTransaction (TransferContract) returns (Transaction) {

};
Expand All @@ -20,10 +21,6 @@ service Wallet {

};

rpc GetAccountByAddress (BytesMessage) returns (Account) {

};

rpc ListAccounts (EmptyMessage) returns (AccountList) {

};
Expand Down Expand Up @@ -109,7 +106,4 @@ message EmptyMessage {
}
message NumberMessage {
int64 num = 1;
}
message BytesMessage {
bytes num = 1;
}

0 comments on commit 2836bdd

Please sign in to comment.