Skip to content

Commit

Permalink
fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Mar 19, 2021
1 parent ae72ef6 commit 620581f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/lotus-shed/balances.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,10 @@ var duplicatedMessagesCmd = &cli.Command{
Value string
Method uint64
}
grouped := map[address.Address][]Msg{}
grouped := map[string][]Msg{}
for c, m := range ms {
grouped[m.To] = append(grouped[m.To], Msg{
addr := m.To.String()
grouped[addr] = append(grouped[addr], Msg{
Cid: c.String(),
Value: types.FIL(m.Value).String(),
Method: uint64(m.Method),
Expand Down

0 comments on commit 620581f

Please sign in to comment.