Skip to content

Commit

Permalink
Add receipt to get blocks by ID
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerbino committed Feb 24, 2022
1 parent d6c63c4 commit 7746417
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/bstore/reqhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ func (handler *RequestHandler) GetBlocksByID(req *block_store.GetBlocksByIdReque
}

if req.GetReturnReceipt() {
// TODO: Internally, Block Receipt needs to change
// result.BlockItems[i].BlockReceipt = record.BlockReceipt
result.BlockItems[i].Receipt = record.Receipt
}
}

Expand Down

0 comments on commit 7746417

Please sign in to comment.