From 4f94c5f01f1eb098dd96e5241a6b2d81c5cf1bb0 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Fri, 13 Mar 2026 15:26:18 -0400 Subject: [PATCH] bip54: make test vectors POSIX-compliant (newline at EOF) This was pointed out during the Bitcoin Inquisition PR review --- bip-0054/test_vectors/coinbases.json | 3 ++- bip-0054/test_vectors/sigops.json | 1 + bip-0054/test_vectors/timestamps.json | 3 ++- bip-0054/test_vectors/txsize.json | 3 ++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/bip-0054/test_vectors/coinbases.json b/bip-0054/test_vectors/coinbases.json index 5d4845e6..6510a5ae 100644 --- a/bip-0054/test_vectors/coinbases.json +++ b/bip-0054/test_vectors/coinbases.json @@ -76,4 +76,5 @@ "valid": false, "comment": "Block at height 4 with coinbase's nLockTime set to block's nTime minus 1 and maximum non-final nSequence." } -] \ No newline at end of file +] + diff --git a/bip-0054/test_vectors/sigops.json b/bip-0054/test_vectors/sigops.json index 58cbe393..056bea02 100644 --- a/bip-0054/test_vectors/sigops.json +++ b/bip-0054/test_vectors/sigops.json @@ -1618,3 +1618,4 @@ "valid": true } ] + diff --git a/bip-0054/test_vectors/timestamps.json b/bip-0054/test_vectors/timestamps.json index 81e6f0c4..49a49f8f 100644 --- a/bip-0054/test_vectors/timestamps.json +++ b/bip-0054/test_vectors/timestamps.json @@ -24250,4 +24250,5 @@ "valid": true, "comment": "Block at height 4032 has a lower timestamp than block at height 2016." } -] \ No newline at end of file +] + diff --git a/bip-0054/test_vectors/txsize.json b/bip-0054/test_vectors/txsize.json index f886dd74..0f4a37d8 100644 --- a/bip-0054/test_vectors/txsize.json +++ b/bip-0054/test_vectors/txsize.json @@ -59,4 +59,5 @@ "tx": "01000000019222bbb054bb9f94571dfe769af5866835f2a97e883959fa757de4064bed8bca01000000035101b100000000010000000000000000016a01000000", "valid": false } -] \ No newline at end of file +] +