We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00ed41f commit b6379bfCopy full SHA for b6379bf
lightning-c-bindings/demo.cpp
@@ -1112,7 +1112,8 @@ int main() {
1112
LDK::RecipientOnionFields invoice2_recipient(std::move(pay_params->contents.result->b));
1113
LDK::RouteParameters invoice2_params(std::move(pay_params->contents.result->c));
1114
assert(pay_params->result_ok);
1115
- LDKThirtyTwoBytes payment_id { .data = 0 };
+ LDKThirtyTwoBytes payment_id;
1116
+ memset(&payment_id, 0, 32);
1117
LDK::CResult_NoneRetryableSendFailureZ invoice_pay_res = ChannelManager_send_payment(
1118
&cm1, std::move(pay_params->contents.result->a), std::move(invoice2_recipient),
1119
std::move(payment_id), std::move(invoice2_params), Retry_attempts(0)
0 commit comments