aboutsummaryrefslogtreecommitdiff
path: root/src/psbt.cpp
diff options
context:
space:
mode:
authorAntoine Poinsot <darosior@protonmail.com>2021-12-05 13:07:54 +0100
committerAntoine Poinsot <darosior@protonmail.com>2021-12-11 18:32:17 +0100
commit4d6b5321a581548d9cdd6aea2dca56cfd96723ee (patch)
tree748c57cb5f126d0f1e8717755f62316e5f41423c /src/psbt.cpp
parentac92ab6da58e34993d0641b98eef5b5f55b6cbf9 (diff)
downloadbitcoin-4d6b5321a581548d9cdd6aea2dca56cfd96723ee.tar.xz
psbt: implement hash preimages fields
Diffstat (limited to 'src/psbt.cpp')
-rw-r--r--src/psbt.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/psbt.cpp b/src/psbt.cpp
index 4c9b439815..203e0a0bd3 100644
--- a/src/psbt.cpp
+++ b/src/psbt.cpp
@@ -153,6 +153,10 @@ void PSBTInput::Merge(const PSBTInput& input)
}
partial_sigs.insert(input.partial_sigs.begin(), input.partial_sigs.end());
+ ripemd160_preimages.insert(input.ripemd160_preimages.begin(), input.ripemd160_preimages.end());
+ sha256_preimages.insert(input.sha256_preimages.begin(), input.sha256_preimages.end());
+ hash160_preimages.insert(input.hash160_preimages.begin(), input.hash160_preimages.end());
+ hash256_preimages.insert(input.hash256_preimages.begin(), input.hash256_preimages.end());
hd_keypaths.insert(input.hd_keypaths.begin(), input.hd_keypaths.end());
unknown.insert(input.unknown.begin(), input.unknown.end());