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

Commit

Permalink
Merge commit 'f1a1e24144dcefa5b604aa4a5ed69ef3bb934c66' into p2p
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaxie committed Mar 21, 2018
2 parents faabdc4 + f1a1e24 commit a97cfd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 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 Down Expand Up @@ -105,4 +106,4 @@ message EmptyMessage {
}
message NumberMessage {
int64 num = 1;
}
}
2 changes: 1 addition & 1 deletion core/Discover.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ message PingMessage {
}

message PongMessage {
Endpoint to = 1;
Endpoint from = 1;
int32 echo = 2;
int64 timestamp = 3;
}
Expand Down

0 comments on commit a97cfd7

Please sign in to comment.