- "bitcoin::hash_types::PubkeyHash"|"bitcoin::hash_types::WPubkeyHash"|
- "bitcoin::hash_types::ScriptHash"|"bitcoin::hash_types::WScriptHash"
+ "bitcoin::PackedLockTime"|"bitcoin::blockdata::locktime::PackedLockTime" => Some(")"),
+
+ "bitcoin::psbt::PartiallySignedTransaction" if !is_ref => Some(".as_slice()).expect(\"Invalid PSBT format\")"),
+
+ "bitcoin::PubkeyHash"|"bitcoin::hash_types::PubkeyHash"|
+ "bitcoin::hash_types::WPubkeyHash"|"bitcoin::hash_types::WScriptHash"|
+ "bitcoin::ScriptHash"|"bitcoin::hash_types::ScriptHash"
+ if !is_ref => Some(".data))"),
+ "bitcoin::PubkeyHash"|"bitcoin::hash_types::PubkeyHash"|
+ "bitcoin::hash_types::WPubkeyHash"|"bitcoin::hash_types::WScriptHash"|
+ "bitcoin::ScriptHash"|"bitcoin::hash_types::ScriptHash"