@@ -449,19 +449,19 @@ int main() {
449
449
std::this_thread::yield ();
450
450
}
451
451
452
- LDKCVec_C2Tuple_usizeTransactionZZ txdata { .data = (LDKC2TupleTempl_usize__Transaction *)malloc (sizeof (LDKC2Tuple_usizeTransactionZ)), .datalen = 1 };
452
+ LDKCVec_C2Tuple_usizeTransactionZZ txdata { .data = (LDKC2Tuple_usizeTransactionZ *)malloc (sizeof (LDKC2Tuple_usizeTransactionZ)), .datalen = 1 };
453
453
*txdata.data = C2Tuple_usizeTransactionZ_new (0 , LDKTransaction { .data = (uint8_t *)channel_open_tx, .datalen = sizeof (channel_open_tx), .data_is_owned = false });
454
454
ChannelManager_block_connected (&cm1, &channel_open_header, txdata, 1 );
455
455
456
- txdata = LDKCVec_C2Tuple_usizeTransactionZZ { .data = (LDKC2TupleTempl_usize__Transaction *)malloc (sizeof (LDKC2Tuple_usizeTransactionZ)), .datalen = 1 };
456
+ txdata = LDKCVec_C2Tuple_usizeTransactionZZ { .data = (LDKC2Tuple_usizeTransactionZ *)malloc (sizeof (LDKC2Tuple_usizeTransactionZ)), .datalen = 1 };
457
457
*txdata.data = C2Tuple_usizeTransactionZ_new (0 , LDKTransaction { .data = (uint8_t *)channel_open_tx, .datalen = sizeof (channel_open_tx), .data_is_owned = false });
458
458
ChannelManager_block_connected (&cm2, &channel_open_header, txdata, 1 );
459
459
460
- txdata = LDKCVec_C2Tuple_usizeTransactionZZ { .data = (LDKC2TupleTempl_usize__Transaction *)malloc (sizeof (LDKC2Tuple_usizeTransactionZ)), .datalen = 1 };
460
+ txdata = LDKCVec_C2Tuple_usizeTransactionZZ { .data = (LDKC2Tuple_usizeTransactionZ *)malloc (sizeof (LDKC2Tuple_usizeTransactionZ)), .datalen = 1 };
461
461
*txdata.data = C2Tuple_usizeTransactionZ_new (0 , LDKTransaction { .data = (uint8_t *)channel_open_tx, .datalen = sizeof (channel_open_tx), .data_is_owned = false });
462
462
mons1.ConnectBlock (&channel_open_header, 1 , txdata, broadcast, fee_est);
463
463
464
- txdata = LDKCVec_C2Tuple_usizeTransactionZZ { .data = (LDKC2TupleTempl_usize__Transaction *)malloc (sizeof (LDKC2Tuple_usizeTransactionZ)), .datalen = 1 };
464
+ txdata = LDKCVec_C2Tuple_usizeTransactionZZ { .data = (LDKC2Tuple_usizeTransactionZ *)malloc (sizeof (LDKC2Tuple_usizeTransactionZ)), .datalen = 1 };
465
465
*txdata.data = C2Tuple_usizeTransactionZ_new (0 , LDKTransaction { .data = (uint8_t *)channel_open_tx, .datalen = sizeof (channel_open_tx), .data_is_owned = false });
466
466
mons2.ConnectBlock (&channel_open_header, 1 , txdata, broadcast, fee_est);
467
467
0 commit comments