X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fscript.h;h=8dd7ce986d319608f85eb806700ddd797e4e605f;hp=c24ab9cdea5e848eeca445b1d3b157909f9aead8;hb=9e58e0a8ca28b15a4bfa677f5b23891972db40fd;hpb=db1eaec482383385156b3e7cb6b2baa9454975f0 diff --git a/src/script.h b/src/script.h index c24ab9c..8dd7ce9 100644 --- a/src/script.h +++ b/src/script.h @@ -380,7 +380,7 @@ public: CScript& operator<<(const CPubKey& key) { - std::vector vchKey = key.Raw(); + std::vector vchKey(key.begin(), key.end()); return (*this) << vchKey; } @@ -586,7 +586,7 @@ public: void SetDestination(const CTxDestination& address); void SetAddress(const CBitcoinAddress& dest); - void SetMultisig(int nRequired, const std::vector& keys); + void SetMultisig(int nRequired, const std::vector& keys); void PrintHex() const