aboutsummaryrefslogtreecommitdiff
path: root/src/undo.h
diff options
context:
space:
mode:
authorBen Woosley <[email protected]>2018-06-22 18:27:18 +0000
committerBen Woosley <[email protected]>2018-09-11 00:58:05 -0400
commitda74db0940720407fafaf3582bbaf9c81a4d3b4d (patch)
tree12ea45e64d4da961a7f89a718ea3c9bb233ea173 /src/undo.h
parentMerge #14097: validation: Log FormatStateMessage on ConnectBlock error in Con... (diff)
downloaddiscoin-da74db0940720407fafaf3582bbaf9c81a4d3b4d.tar.xz
discoin-da74db0940720407fafaf3582bbaf9c81a4d3b4d.zip
Drop unused GetType() from CSizeComputer
Diffstat (limited to 'src/undo.h')
-rw-r--r--src/undo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.h b/src/undo.h
index 4a7823894..4ed3dc4ca 100644
--- a/src/undo.h
+++ b/src/undo.h
@@ -61,7 +61,7 @@ public:
explicit TxInUndoDeserializer(Coin* coin) : txout(coin) {}
};
-static const size_t MIN_TRANSACTION_INPUT_WEIGHT = WITNESS_SCALE_FACTOR * ::GetSerializeSize(CTxIn(), SER_NETWORK, PROTOCOL_VERSION);
+static const size_t MIN_TRANSACTION_INPUT_WEIGHT = WITNESS_SCALE_FACTOR * ::GetSerializeSize(CTxIn(), PROTOCOL_VERSION);
static const size_t MAX_INPUTS_PER_BLOCK = MAX_BLOCK_WEIGHT / MIN_TRANSACTION_INPUT_WEIGHT;
/** Undo information for a CTransaction */