This function remains for backwards compatibility. It will not succeed in Elements unless everything involved is non-blinded.
| 2195 | |
| 2196 | // This function remains for backwards compatibility. It will not succeed in Elements unless everything involved is non-blinded. |
| 2197 | TransactionError CWallet::FillPSBT(PartiallySignedTransaction& psbtx, bool& complete, int sighash_type, bool sign, bool bip32derivs, bool imbalance_ok, size_t* n_signed, bool include_explicit, bool finalize) const |
| 2198 | { |
| 2199 | complete = false; |
| 2200 | TransactionError te; |
| 2201 | te = FillPSBTData(psbtx, bip32derivs, include_explicit); |
| 2202 | if (te != TransactionError::OK) { |
| 2203 | return te; |
| 2204 | } |
| 2205 | // For backwards compatibility, do not check if amounts balance before signing in this case. |
| 2206 | te = SignPSBT(psbtx, complete, sighash_type, sign, imbalance_ok, bip32derivs, n_signed, finalize); |
| 2207 | if (te != TransactionError::OK) { |
| 2208 | return te; |
| 2209 | } |
| 2210 | return TransactionError::OK; |
| 2211 | } |
| 2212 | |
| 2213 | SigningResult CWallet::SignMessage(const std::string& message, const PKHash& pkhash, std::string& str_sig) const |
| 2214 | { |
no outgoing calls