1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-10-19 19:29:18 +00:00

bip138: clarify rejection of empty payloads

Clarify that an empty payload contains zero content items. Add a
vector that rejects a payload consisting only of the 0x00 terminator.
This commit is contained in:
Sjors Provoost
2026-09-23 14:31:54 +02:00
committed by Murch
parent aa098559bf
commit bf64a12098
2 changed files with 6 additions and 1 deletions

View File

@@ -9,5 +9,10 @@
"content": "61"
}
]
},
{
"description": "Payload with no content item.",
"valid": false,
"payload": "00"
}
]