1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-10-19 19:29:18 +00:00
Files
bips/bip-0138/test_vectors/payload.json
Sjors Provoost bf64a12098 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.
2026-09-24 14:47:16 -07:00

19 lines
302 B
JSON

[
{
"description": "Bytes after terminator are ignored",
"valid": true,
"payload": "030001610080ff",
"items": [
{
"type": 3,
"content": "61"
}
]
},
{
"description": "Payload with no content item.",
"valid": false,
"payload": "00"
}
]