aboutsummaryrefslogtreecommitdiff
path: root/src/primitives/transaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/primitives/transaction.h')
-rw-r--r--src/primitives/transaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h
index 1afeb87039..714ab34548 100644
--- a/src/primitives/transaction.h
+++ b/src/primitives/transaction.h
@@ -177,7 +177,7 @@ public:
if (scriptPubKey.IsUnspendable())
return 0;
- size_t nSize = GetSerializeSize(SER_DISK, 0);
+ size_t nSize = GetSerializeSize(*this, SER_DISK, 0);
int witnessversion = 0;
std::vector<unsigned char> witnessprogram;