Skip to content

Commit

Permalink
prints around DoBroadcast in Create handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Aven Dauz authored and Aven Dauz committed Aug 7, 2021
1 parent 5743f3d commit e5459b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/nft/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ func handleMsgCreateNft(goCtx sdk.Context, k keeper.Keeper, msg *types.MsgCreate
}

go func() {
fmt.Println("Calling broadcaster to publish file")
err = k.BroadcastPublishFile(goCtx, msg.Id, msg.Vendor, msg.UserId, msg.Hash, msg.Mime, metainfo)
fmt.Println("Broadcaster completed Msg Publish", err)
if err != nil {
k.Logger(goCtx).Error("error broadcasting publish nft file", "err", err.Error())
}
Expand Down

0 comments on commit e5459b3

Please sign in to comment.