File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -570,7 +570,7 @@ namespace sdk {
570
570
// and that include sweep outouts
571
571
GDK_RUNTIME_ASSERT (!addr_type.empty ()); // Must be spendable by us
572
572
// TODO: Support mixed/batched sweep transactions with non-sweep inputs
573
- GDK_RUNTIME_ASSERT (addr_type != address_type::p2pkh );
573
+ GDK_RUNTIME_ASSERT (!input. contains ( " private_key " ) );
574
574
}
575
575
576
576
// FIXME: Do not duplicate the transaction_outputs in required_data
@@ -589,7 +589,7 @@ namespace sdk {
589
589
const auto & addr_type = input.at (" address_type" );
590
590
GDK_RUNTIME_ASSERT (!addr_type.empty ()); // Must be spendable by us
591
591
// TODO: Support mixed/batched sweep transactions with non-sweep inputs
592
- GDK_RUNTIME_ASSERT (addr_type != address_type::p2pkh );
592
+ GDK_RUNTIME_ASSERT (!input. contains ( " private_key " ) );
593
593
594
594
// Add host-entropy and host-commitment to each input if using the anti-exfil protocol
595
595
if (use_ae_protocol) {
You can’t perform that action at this time.
0 commit comments