From 9cf9fb061b22baa20c9e1a6b8c722eb826770c66 Mon Sep 17 00:00:00 2001 From: Nex Date: Wed, 29 Jul 2020 15:58:50 +0800 Subject: [PATCH] fix GetTransactionByBlockHashAndIndex HTTP API path --- grpc/pb/bdware/bdledger/api/grpc-gateway.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grpc/pb/bdware/bdledger/api/grpc-gateway.yml b/grpc/pb/bdware/bdledger/api/grpc-gateway.yml index e0386c0..a75c115 100644 --- a/grpc/pb/bdware/bdledger/api/grpc-gateway.yml +++ b/grpc/pb/bdware/bdledger/api/grpc-gateway.yml @@ -24,7 +24,7 @@ http: - selector: bdware.bdledger.api.Query.GetTransactionByHash get: /v0/ledgers/{ledger}/transaction - selector: bdware.bdledger.api.Query.GetTransactionByBlockHashAndIndex - get: /v0/ledgers/{ledger}/blocks/{block_hash}/transactions/{index} + get: /v0/ledgers/{ledger}/block/transaction - selector: bdware.bdledger.api.Query.GetTransactions post: /v0/ledgers/{ledger}/transactions/query body: "*"