aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.h
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-05-17 17:54:18 -0700
committerBen Woosley <ben.woosley@gmail.com>2018-05-18 11:08:13 -0700
commit6aa33feadbe11bfa505a80a691d84db966aca134 (patch)
tree0281e621d6958cbb645b5bfa498092687e2492c6 /src/script/sign.h
parent1b53e4f67c6dbefadbfda7e40948840fe2b9da48 (diff)
downloadbitcoin-6aa33feadbe11bfa505a80a691d84db966aca134.tar.xz
Drop UpdateTransaction in favor of UpdateInput
Updating the input explicitly requires the caller to present a mutable input, which more clearly communicates the effects and intent of the method. In most cases, this input is already immediately available and need not be looked up.
Diffstat (limited to 'src/script/sign.h')
-rw-r--r--src/script/sign.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/script/sign.h b/src/script/sign.h
index cf3651c1de..553db07349 100644
--- a/src/script/sign.h
+++ b/src/script/sign.h
@@ -80,7 +80,6 @@ SignatureData CombineSignatures(const CScript& scriptPubKey, const BaseSignature
/** Extract signature data from a transaction, and insert it. */
SignatureData DataFromTransaction(const CMutableTransaction& tx, unsigned int nIn);
-void UpdateTransaction(CMutableTransaction& tx, unsigned int nIn, const SignatureData& data);
void UpdateInput(CTxIn& input, const SignatureData& data);
/* Check whether we know how to sign for an output like this, assuming we