mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Merge pull request #4981
85c579escript: add a slew of includes all around and drop includes from script.h (Cory Fields)db8eb54script: move ToString and ValueString out of the header (Cory Fields)e9ca428script: add ToByteVector() for converting anything with begin/end (Cory Fields)066e2a1script: move CScriptID to standard.h and add a ctor for creating them from CScripts (Cory Fields)
This commit is contained in:
@@ -399,7 +399,7 @@ CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey)
|
||||
if (!reservekey.GetReservedKey(pubkey))
|
||||
return NULL;
|
||||
|
||||
CScript scriptPubKey = CScript() << pubkey << OP_CHECKSIG;
|
||||
CScript scriptPubKey = CScript() << ToByteVector(pubkey) << OP_CHECKSIG;
|
||||
return CreateNewBlock(scriptPubKey);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user