mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
bitcoin_script: use OP_NOP dummy for now, as bitcoind rejects OP_NOP3
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -25,8 +25,13 @@
|
||||
#define OP_CHECKSIG 0xAC
|
||||
#define OP_CHECKMULTISIG 0xAE
|
||||
#define OP_HASH160 0xA9
|
||||
#define OP_CHECKSEQUENCEVERIFY 0xB2
|
||||
|
||||
#ifdef HAS_CSV
|
||||
#define OP_CHECKSEQUENCEVERIFY 0xB2
|
||||
#else
|
||||
/* OP_NOP, otherwise bitcoind complains */
|
||||
#define OP_CHECKSEQUENCEVERIFY 0x61
|
||||
#endif
|
||||
static void add(u8 **scriptp, const void *mem, size_t len)
|
||||
{
|
||||
size_t oldlen = tal_count(*scriptp);
|
||||
|
||||
Reference in New Issue
Block a user