mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
refactor: Avoid copies in FlatSigningProvider Merge
This commit is contained in:
parent
bf3f05f41d
commit
fa3f15f2dd
6 changed files with 18 additions and 23 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue