Skip to content

Commit

Permalink
update 1 list
Browse files Browse the repository at this point in the history
  • Loading branch information
satawatnack committed Dec 17, 2024
1 parent a9dc8ef commit 03d94ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hooks/emitter/bank.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ func (h *Hook) handleMsgMultiSend(msg *types.MsgMultiSend) {
}

func (h *Hook) handleEventTypeTransfer(evMap common.EvMap) {
// add sender account in case use bank keeper to send coins
h.AddAccountsInBlock(evMap[types.EventTypeTransfer+"."+types.AttributeKeySender][0])

h.AddAccountsInBlock(evMap[types.EventTypeTransfer+"."+types.AttributeKeyRecipient][0])
h.AddAccountsInBlock(
evMap[types.EventTypeTransfer+"."+types.AttributeKeyRecipient][0],
evMap[types.EventTypeTransfer+"."+types.AttributeKeySender][0],
)
}

0 comments on commit 03d94ed

Please sign in to comment.