MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / HasScripts

Method HasScripts

src/wallet/coincontrol.cpp:136–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136bool PreselectedInput::HasScripts() const
137{
138 return m_script_sig.has_value() || m_script_witness.has_value();
139}
140
141std::pair<std::optional<CScript>, std::optional<CScriptWitness>> PreselectedInput::GetScripts() const
142{

Callers 2

FromSignatureDataMethod · 0.45
AddWalletDescriptorMethod · 0.45

Calls 1

has_valueMethod · 0.45

Tested by

no test coverage detected