Skip to content

Commit

Permalink
rebased from testcases
Browse files Browse the repository at this point in the history
Signed-off-by: jay-dee7 <[email protected]>
  • Loading branch information
jay-dee7 committed Jun 29, 2021
1 parent f14a1ae commit a2f5ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/session/simulation/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func NewDecoderStore(cdc codec.Marshaler) func(kvA, kvB kv.Pair) string {
cdc.MustUnmarshalBinaryBare(kvB.Value, &activeSessionB)
return fmt.Sprintf("%s\n%s", &activeSessionA, &activeSessionB)

case bytes.Equal(kvA.Key[:1], types.ActiveSessionAtKeyPrefix):
case bytes.Equal(kvA.Key[:1], types.InactiveSessionAtKeyPrefix):
var activeSessionA, activeSessionB protobuf.BoolValue
cdc.MustUnmarshalBinaryBare(kvA.Value, &activeSessionA)
cdc.MustUnmarshalBinaryBare(kvB.Value, &activeSessionB)
Expand Down

0 comments on commit a2f5ac8

Please sign in to comment.