From 3c7ebec0dd88c89fbbfcea2e65756f71a013a180 Mon Sep 17 00:00:00 2001 From: Nex Date: Wed, 12 Sep 2018 17:27:31 +0800 Subject: [PATCH] Fix bug --- bdchain/api/ac_chain.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bdchain/api/ac_chain.proto b/bdchain/api/ac_chain.proto index 2081a32..e965743 100644 --- a/bdchain/api/ac_chain.proto +++ b/bdchain/api/ac_chain.proto @@ -13,7 +13,7 @@ service AccountingChain { rpc BlockNumber (BlockNumberRequest) returns (BlockNumberResponse); rpc GetBlockByNumber (GetBlockByNumberRequest) returns (Block); rpc GetBlockByHash (GetBlockByHashRequest) returns (Block); - rpc GetTransactionByHash (GetTransactionByHashRequest) returns (Block); + rpc GetTransactionByHash (GetTransactionByHashRequest) returns (Transaction); rpc GetTransactionByBlockNumberAndIndex (GetTransactionByBlockNumberAndIndexRequest) returns (Transaction); rpc GetTransactionByBlockHashAndIndex (GetTransactionByBlockHashAndIndexRequest) returns (Transaction); }