aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-04-05 09:16:12 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-04-05 09:16:15 -0400
commit35991b162fd142d76d83e672002846c8a40eb794 (patch)
tree8a4b84d2c5e649945f6320577c66138030c2fb44
parentc83442e17412b96f00bc29d30763b28184c95f1e (diff)
parent4831aec5b1896c096a40ae6348deec969d4e8a03 (diff)
Merge #15755: rpc: remove unused var in rawtransaction.cpp
4831aec5b1 Remove unused var (Peter Bushnell) Pull request description: `UniValue result` was never used. ACKs for commit 4831ae: practicalswift: utACK 4831aec5b1896c096a40ae6348deec969d4e8a03 promag: utACK 4831aec. Tree-SHA512: e3120dffcb10c747842e81d53c7834dc9c10a82d63ff9c41c8b9403b01cc28fba2e1f3ec78cf8e50998e7c75b39656ab1170fc72053c1a00d68278846468c861
-rw-r--r--src/rpc/rawtransaction.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp
index 5dcd04323e..a68ad67ae5 100644
--- a/src/rpc/rawtransaction.cpp
+++ b/src/rpc/rawtransaction.cpp
@@ -1549,7 +1549,6 @@ UniValue combinepsbt(const JSONRPCRequest& request)
throw JSONRPCTransactionError(error);
}
- UniValue result(UniValue::VOBJ);
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
ssTx << merged_psbt;
return EncodeBase64((unsigned char*)ssTx.data(), ssTx.size());