| 347 | } |
| 348 | |
| 349 | CScript GetScriptForRawPubKey(const CPubKey& pubKey) |
| 350 | { |
| 351 | return CScript() << std::vector<unsigned char>(pubKey.begin(), pubKey.end()) << OP_CHECKSIG; |
| 352 | } |
| 353 | |
| 354 | CScript GetScriptForMultisig(int nRequired, const std::vector<CPubKey>& keys) |
| 355 | { |