diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-30 14:27:47 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-08-12 17:19:16 +0200 |
commit | fa3f15f2dd94ae597a66037f5928fe4e90fe099d (patch) | |
tree | 3f8bda3498fd454d53662ea48e4b140fe772c102 /src/script/descriptor.cpp | |
parent | bf3f05f41d27a6be3730432aaa7e22e443f7cafa (diff) | |
download | bitcoin-fa3f15f2dd94ae597a66037f5928fe4e90fe099d.tar.xz |
refactor: Avoid copies in FlatSigningProvider Merge
Diffstat (limited to 'src/script/descriptor.cpp')
-rw-r--r-- | src/script/descriptor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp index 9bcbe1ceef..8ace9c3136 100644 --- a/src/script/descriptor.cpp +++ b/src/script/descriptor.cpp @@ -644,7 +644,7 @@ public: assert(outscripts.size() == 1); subscripts.emplace_back(std::move(outscripts[0])); } - out = Merge(std::move(out), std::move(subprovider)); + out.Merge(std::move(subprovider)); std::vector<CPubKey> pubkeys; pubkeys.reserve(entries.size()); |