diff options
| author | Cory Fields <[email protected]> | 2014-09-24 22:54:08 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2014-10-17 13:44:14 -0400 |
| commit | e9ca4280f3abb8b2b6fa35a41e881996278ebfff (patch) | |
| tree | ee09dcf4ec7f9177ee329581382e001459ff2e16 /src/miner.cpp | |
| parent | script: move CScriptID to standard.h and add a ctor for creating them from CS... (diff) | |
| download | discoin-e9ca4280f3abb8b2b6fa35a41e881996278ebfff.tar.xz discoin-e9ca4280f3abb8b2b6fa35a41e881996278ebfff.zip | |
script: add ToByteVector() for converting anything with begin/end
This should move to a util header once their dependencies are cleaned up.
Diffstat (limited to 'src/miner.cpp')
| -rw-r--r-- | src/miner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index c2762bf44..6a2718e40 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -398,7 +398,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); } |