diff --git a/api/api.proto b/api/api.proto index f31dc42b900..aa50632d1b4 100644 --- a/api/api.proto +++ b/api/api.proto @@ -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) { }; @@ -105,4 +106,4 @@ message EmptyMessage { } message NumberMessage { int64 num = 1; -} +} \ No newline at end of file diff --git a/core/Discover.proto b/core/Discover.proto index 5087456d11e..ed8d00cb0d0 100644 --- a/core/Discover.proto +++ b/core/Discover.proto @@ -58,7 +58,7 @@ message PingMessage { } message PongMessage { - Endpoint to = 1; + Endpoint from = 1; int32 echo = 2; int64 timestamp = 3; }