Add OP_0 alias for OP_PUSHBYTES_0

This commit is contained in:
DanGould 2022-06-30 13:01:50 +08:00
parent 72935a0f6e
commit 6b6ef528a4
No known key found for this signature in database
GPG Key ID: B07290B28996AFE0
1 changed files with 2 additions and 0 deletions

View File

@ -755,6 +755,8 @@ impl serde::Serialize for All {
}
}
/// Push an empty array onto the stack.
pub static OP_0: All = OP_PUSHBYTES_0;
/// Empty stack is also FALSE.
pub static OP_FALSE: All = OP_PUSHBYTES_0;
/// Number 1 is also TRUE.