diff options
| author | Andrew Chow <[email protected]> | 2020-06-04 23:43:39 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2020-06-24 16:31:42 -0400 |
| commit | 5279d8bc07d601fe6a67ad665fbc7591fe73c7de (patch) | |
| tree | 0980c73654effe41bd15ecf24a787df16ddff939 /src/wallet/wallet.cpp | |
| parent | rpc: show both UTXOs in decodepsbt (diff) | |
| download | discoin-5279d8bc07d601fe6a67ad665fbc7591fe73c7de.tar.xz discoin-5279d8bc07d601fe6a67ad665fbc7591fe73c7de.zip | |
psbt: Allow both non_witness_utxo and witness_utxo
Diffstat (limited to 'src/wallet/wallet.cpp')
| -rw-r--r-- | src/wallet/wallet.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 57eec9baf..bc0b9ea58 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2491,11 +2491,6 @@ TransactionError CWallet::FillPSBT(PartiallySignedTransaction& psbtx, bool& comp continue; } - // Verify input looks sane. This will check that we have at most one uxto, witness or non-witness. - if (!input.IsSane()) { - return TransactionError::INVALID_PSBT; - } - // If we have no utxo, grab it from the wallet. if (!input.non_witness_utxo && input.witness_utxo.IsNull()) { const uint256& txhash = txin.prevout.hash; |