mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-25 09:24:30 +00:00
types: Refactor EventAttribute (#6408)
This commit is contained in:
+4
-4
@@ -111,12 +111,12 @@ func (app *Application) EndBlock(req abci.RequestEndBlock) abci.ResponseEndBlock
|
||||
Type: "val_updates",
|
||||
Attributes: []abci.EventAttribute{
|
||||
{
|
||||
Key: []byte("size"),
|
||||
Value: []byte(strconv.Itoa(valUpdates.Len())),
|
||||
Key: "size",
|
||||
Value: strconv.Itoa(valUpdates.Len()),
|
||||
},
|
||||
{
|
||||
Key: []byte("height"),
|
||||
Value: []byte(strconv.Itoa(int(req.Height))),
|
||||
Key: "height",
|
||||
Value: strconv.Itoa(int(req.Height)),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user