diff --git a/libraries/plugins/peerplays_sidechain/bitcoin_utils.cpp b/libraries/plugins/peerplays_sidechain/bitcoin_utils.cpp index 9457ee61..e9b4f6ad 100644 --- a/libraries/plugins/peerplays_sidechain/bitcoin_utils.cpp +++ b/libraries/plugins/peerplays_sidechain/bitcoin_utils.cpp @@ -35,6 +35,7 @@ static const unsigned char OP_SWAP = 0x7c; static const unsigned char OP_EQUAL = 0x87; static const unsigned char OP_ADD = 0x93; static const unsigned char OP_GREATERTHAN = 0xa0; +static const unsigned char OP_GREATERTHANOREQUAL = 0xa2; static const unsigned char OP_HASH160 = 0xa9; static const unsigned char OP_CHECKSIG = 0xac; @@ -371,7 +372,7 @@ bytes generate_redeem_script(std::vector(threshold_weight)); - result.push_back(OP_GREATERTHAN); + result.push_back(OP_GREATERTHANOREQUAL); return result; }