diff --git a/src/core_io.h b/src/core_io.h index a10d748217a..8d32bef6f0e 100644 --- a/src/core_io.h +++ b/src/core_io.h @@ -39,5 +39,6 @@ std::string SighashToStr(unsigned char sighash_type); void ScriptPubKeyToUniv(const CScript& scriptPubKey, UniValue& out, bool fIncludeHex); void ScriptToUniv(const CScript& script, UniValue& out, bool include_address); void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry, bool include_hex = true, int serialize_flags = 0); +std::string EncodePSBT(const PartiallySignedTransaction& psbt); #endif // BITCOIN_CORE_IO_H diff --git a/src/core_write.cpp b/src/core_write.cpp index 49be842f3b7..f34abadf064 100644 --- a/src/core_write.cpp +++ b/src/core_write.cpp @@ -9,6 +9,7 @@ #include #include #include