fix culimit
This commit is contained in:
@@ -31,7 +31,7 @@ func computeUnitLimitParser(offset [2]uint, tx *Tx, decodedData []byte) ([2]uint
|
||||
if len(decodedData) < 4 {
|
||||
return increaseOffset(offset), nil
|
||||
}
|
||||
tx.CuLimit = binary.BigEndian.Uint32(decodedData[:4])
|
||||
tx.CuLimit = binary.LittleEndian.Uint32(decodedData[:4])
|
||||
return increaseOffset(offset), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user