aboutsummaryrefslogtreecommitdiff
path: root/src/signet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signet.cpp')
-rw-r--r--src/signet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signet.cpp b/src/signet.cpp
index 5cecb8decc..6366851790 100644
--- a/src/signet.cpp
+++ b/src/signet.cpp
@@ -98,7 +98,7 @@ std::optional<SignetTxs> SignetTxs::Create(const CBlock& block, const CScript& c
// no signet solution -- allow this to support OP_TRUE as trivial block challenge
} else {
try {
- SpanReader v{SER_NETWORK, INIT_PROTO_VERSION, signet_solution, 0};
+ SpanReader v{SER_NETWORK, INIT_PROTO_VERSION, signet_solution};
v >> tx_spending.vin[0].scriptSig;
v >> tx_spending.vin[0].scriptWitness.stack;
if (!v.empty()) return std::nullopt; // extraneous data encountered