aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/db/leveldbutil.cc
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-08-13 14:59:31 -0700
committerfanquake <fanquake@gmail.com>2018-08-15 09:58:49 +0800
commit8c4cd2bd895fe7467307867fefc3cd45a685367c (patch)
tree7f8dd38e219a0788e5a08c5ff31e6157ba01a353 /src/leveldb/db/leveldbutil.cc
parentff41e479a0a3c2485f6116abcffa1bacbd86ca72 (diff)
Fix PSBT deserialization of 0-input transactions
0-input transactions can be ambiguously deserialized as being witness transactions. Since the unsigned transaction is never serialized as a witness transaction as it has no witnesses, we should always deserialize it as a non-witness transaction and set the serialization flags as such. Also always serialize the unsigned transaction as a non-witness transaction. GitHub-Pull: #13960 Rebased-From: 43811e6
Diffstat (limited to 'src/leveldb/db/leveldbutil.cc')
0 files changed, 0 insertions, 0 deletions