aboutsummaryrefslogtreecommitdiff
path: root/src/script.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2012-05-14 19:07:52 +0200
committerPieter Wuille <[email protected]>2012-05-24 19:58:12 +0200
commitfd61d6f5068cf92d34569862b4225f177049a4f0 (patch)
tree5556094bda3a7162535b9352b67016e620bb9a77 /src/script.cpp
parentMore CScript unit tests. (diff)
downloaddiscoin-fd61d6f5068cf92d34569862b4225f177049a4f0.tar.xz
discoin-fd61d6f5068cf92d34569862b4225f177049a4f0.zip
Encapsulate public keys in CPubKey
Diffstat (limited to 'src/script.cpp')
-rw-r--r--src/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.cpp b/src/script.cpp
index 0620fba23..20013af1b 100644
--- a/src/script.cpp
+++ b/src/script.cpp
@@ -1374,7 +1374,7 @@ bool Solver(const CKeyStore& keystore, const CScript& scriptPubKey, uint256 hash
return false;
else
{
- valtype vch;
+ CPubKey vch;
keystore.GetPubKey(address, vch);
scriptSigRet << vch;
}