diff --git a/sungrow.go b/sungrow.go index 7f0f060..3e4f212 100644 --- a/sungrow.go +++ b/sungrow.go @@ -57,7 +57,7 @@ func (c *sungrowConn) Write(msg []byte) (int, error) { defer c.mu.Unlock() c.txid = binary.BigEndian.Uint16(msg[:2]) - c.fifo.Truncate(0) + //c.fifo.Truncate(0) bs := c.block.BlockSize() padlen := bs - (len(msg) % bs)