Skip to content

Commit 362fccb

Browse files
committed
Multiple encoding bug fixed
1 parent 1fad68f commit 362fccb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎main.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func encode(encoder *sgn.Encoder, payload []byte) ([]byte, error) {
187187

188188
if encoder.EncodingCount > 1 {
189189
encoder.EncodingCount--
190-
return encode(encoder, payload)
190+
return encode(encoder, final)
191191
}
192192

193193
if encoder.SaveRegisters {

0 commit comments

Comments
 (0)