Skip to content

Commit 46c9813

Browse files
committed
fix: switch variables around
1 parent eec634b commit 46c9813

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/util/src/functions/database/createBlockDatabase.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ export async function createBlockDatabase(
250250

251251
if (settings.fields.includes('postcode')) {
252252
const [postcodeLength, postcodeValue] = getPostcodeDatabase(postalCode)
253-
buffer3.writeUInt32LE(postcodeLength, offset)
254-
buffer3.writeInt8(postcodeValue, offset + 4)
253+
buffer3.writeUInt32LE(postcodeValue, offset)
254+
buffer3.writeInt8(postcodeLength, offset + 4)
255255
offset += 5
256256
}
257257

0 commit comments

Comments
 (0)