aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/blinding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/blinding.cpp')
-rw-r--r--src/lib/pubkey/blinding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/blinding.cpp b/src/lib/pubkey/blinding.cpp
index 4dba697b2..47a0ea0a4 100644
--- a/src/lib/pubkey/blinding.cpp
+++ b/src/lib/pubkey/blinding.cpp
@@ -15,8 +15,8 @@ Blinder::Blinder(const BigInt& modulus,
std::function<BigInt (const BigInt&)> inv) :
m_reducer(modulus),
m_rng(rng),
- m_fwd_fn(fwd),
- m_inv_fn(inv),
+ m_fwd_fn(std::move(fwd)),
+ m_inv_fn(std::move(inv)),
m_modulus_bits(modulus.bits()),
m_e{},
m_d{},