diff options
author | Eric R. Schulz <ersmail@gmail.com> | 2014-12-22 21:04:53 -0500 |
---|---|---|
committer | Eric R. Schulz <ersmail@gmail.com> | 2014-12-22 21:04:53 -0500 |
commit | 2a3d988b802dcea4453241e37168d8511078940a (patch) | |
tree | 25b78ab384c22315ec1ca108b8a78598f200976e /src/bitcoin-tx.cpp | |
parent | 146e68059cf3ce5772a5f0dc93dcc785a7b64bcf (diff) |
bitcoin-tx: Fix JSON validation of prevtxs
Diffstat (limited to 'src/bitcoin-tx.cpp')
-rw-r--r-- | src/bitcoin-tx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index 337cd44cd9..56ca600ed4 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -368,7 +368,7 @@ static void MutateTxSign(CMutableTransaction& tx, const string& flagStr) // Add previous txouts given in the RPC call: if (!registers.count("prevtxs")) throw runtime_error("prevtxs register variable must be set."); - UniValue prevtxsObj = registers["privatekeys"]; + UniValue prevtxsObj = registers["prevtxs"]; { for (unsigned int previdx = 0; previdx < prevtxsObj.count(); previdx++) { UniValue prevOut = prevtxsObj[previdx]; |