diff options
| author | Pieter Wuille <[email protected]> | 2013-04-30 21:56:04 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-05-30 05:18:42 +0200 |
| commit | 5d891489ab7828ad8db15e85bb63e2f13f021a6a (patch) | |
| tree | 24cd213e276977570de5b299872368bdf70ac929 /src/rpcwallet.cpp | |
| parent | Merge pull request #2671 from bytemaster/master (diff) | |
| download | discoin-5d891489ab7828ad8db15e85bb63e2f13f021a6a.tar.xz discoin-5d891489ab7828ad8db15e85bb63e2f13f021a6a.zip | |
Make CPubKey statically allocated
Diffstat (limited to 'src/rpcwallet.cpp')
| -rw-r--r-- | src/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 5fd400c6b..64ee39081 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -1445,7 +1445,7 @@ public: CPubKey vchPubKey; pwalletMain->GetPubKey(keyID, vchPubKey); obj.push_back(Pair("isscript", false)); - obj.push_back(Pair("pubkey", HexStr(vchPubKey.Raw()))); + obj.push_back(Pair("pubkey", HexStr(vchPubKey))); obj.push_back(Pair("iscompressed", vchPubKey.IsCompressed())); return obj; } |