diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-21 16:52:14 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-08-02 15:27:20 +0200 |
commit | fa477d32eefcc3dd2f06b452066290d9936d8c5d (patch) | |
tree | 4cffc18bae9b48a17213ec50b0f9ef631e1d6cbb /src/node/psbt.cpp | |
parent | fa2f6c1a611dffe5a3f63fe1b453f1dd420371b1 (diff) |
Remove ::GetVirtualTransactionSize() alias
Each alias is only used in one place.
Diffstat (limited to 'src/node/psbt.cpp')
-rw-r--r-- | src/node/psbt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/psbt.cpp b/src/node/psbt.cpp index 5a932f435d..57162cd679 100644 --- a/src/node/psbt.cpp +++ b/src/node/psbt.cpp @@ -137,7 +137,7 @@ PSBTAnalysis AnalyzePSBT(PartiallySignedTransaction psbtx) if (success) { CTransaction ctx = CTransaction(mtx); - size_t size = GetVirtualTransactionSize(ctx, GetTransactionSigOpCost(ctx, view, STANDARD_SCRIPT_VERIFY_FLAGS)); + size_t size(GetVirtualTransactionSize(ctx, GetTransactionSigOpCost(ctx, view, STANDARD_SCRIPT_VERIFY_FLAGS), ::nBytesPerSigOp)); result.estimated_vsize = size; // Estimate fee rate CFeeRate feerate(fee, size); |