Skip to content

Commit

Permalink
fix issues with using tt.Data with ttv3
Browse files Browse the repository at this point in the history
  • Loading branch information
JAicewizard committed Apr 30, 2020
1 parent 5471938 commit 2d724da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tt.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (d *Data) GobDecode(data []byte) error {
case version2:
return Decodev2(data[1:], d)
case version3:
return Decodev3(bytes.NewBuffer(data), d)
return Decodev3(bytes.NewBuffer(data), (*map[interface{}]interface{})(d))
}
return nil
}

0 comments on commit 2d724da

Please sign in to comment.