docs(x/accounts): remove unnecessary TODO comments (#20081)
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
This commit is contained in:
parent
5e7aae0db1
commit
c6b8d7d146
@ -73,8 +73,6 @@ func QueryTx(clientCtx client.Context, hashHexStr string) (*sdk.TxResponse, erro
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// TODO: this may not always need to be proven
|
||||
// https://github.com/cosmos/cosmos-sdk/issues/6807
|
||||
resTx, err := node.Tx(context.Background(), hash, true)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
@ -116,8 +116,6 @@ func (s txServer) GetTx(ctx context.Context, req *txtypes.GetTxRequest) (*txtype
|
||||
return nil, status.Error(codes.InvalidArgument, "tx hash cannot be empty")
|
||||
}
|
||||
|
||||
// TODO We should also check the proof flag in gRPC header.
|
||||
// https://github.com/cosmos/cosmos-sdk/issues/7036.
|
||||
result, err := QueryTx(s.clientCtx, req.Hash)
|
||||
if err != nil {
|
||||
if strings.Contains(err.Error(), "not found") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user