Skip to content

Commit

Permalink
#37 Create cyberd PoC based on Cosmos SDK
Browse files Browse the repository at this point in the history
--fix check tx influence on inmem storage
  • Loading branch information
hleb-albau committed Oct 24, 2018
1 parent 8a2efa7 commit dfe2377
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cosmos/poc/app/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ func NewLinksHandler(cis CidIndexStorage, ls LinksStorage, imms *InMemoryStorage

return func(ctx sdk.Context, msg sdk.Msg) sdk.Result {

if ctx.IsCheckTx() {
return sdk.Result{}
}

link := msg.(MsgLink)

linkedCids := LinkedCids{
Expand Down

0 comments on commit dfe2377

Please sign in to comment.