You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sn_serialize does not serialize the number zero. Easy fix.
OP_0 is represented on the stack as an empty item, (not the number 0). According to the documentation that is OK. Empty stack items are shown as 0x in stack output which seems like an accident; not shown in stack_hex at all. Perhaps an empty array could be displayed as [] in both cases?
Documentation: https://en.bitcoin.it/wiki/Script
OP_0, OP_FALSE An empty array of bytes is pushed onto the stack. (This is not a no-op: an item is added to the stack.)
examples:
The text was updated successfully, but these errors were encountered: