Update auto-generated bindings
authorMatt Corallo <git@bluematt.me>
Mon, 8 Mar 2021 19:30:59 +0000 (14:30 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 8 Mar 2021 19:30:59 +0000 (14:30 -0500)
lightning-c-bindings/include/lightning.h
lightning-c-bindings/src/ln/peer_handler.rs

index eb6f45b713c3d9bd4fbe60f69cd1c0744f634000..94ccb2656800a731dce218802daac93fc7bcb82e 100644 (file)
@@ -8112,7 +8112,7 @@ void PeerManager_disconnect_by_node_id(const struct LDKPeerManager *NONNULL_PTR
  * It will send pings to each peer and disconnect those which did not respond to the last round of pings.
  * Will most likely call send_data on all of the registered descriptors, thus, be very careful with reentrancy issues!
  */
-void PeerManager_timer_tick_occured(const struct LDKPeerManager *NONNULL_PTR this_arg);
+void PeerManager_timer_tick_occurred(const struct LDKPeerManager *NONNULL_PTR this_arg);
 
 /**
  * Build the commitment secret from the seed and the commitment number
index 96966a8599444b43b73e0e18d87fe37f1cf61f61..9e7422a6eac6f4b5606201e80ebb53968ea762ff 100644 (file)
@@ -784,7 +784,7 @@ pub extern "C" fn PeerManager_disconnect_by_node_id(this_arg: &PeerManager, mut
 /// It will send pings to each peer and disconnect those which did not respond to the last round of pings.
 /// Will most likely call send_data on all of the registered descriptors, thus, be very careful with reentrancy issues!
 #[no_mangle]
-pub extern "C" fn PeerManager_timer_tick_occured(this_arg: &PeerManager) {
-       unsafe { &*this_arg.inner }.timer_tick_occured()
+pub extern "C" fn PeerManager_timer_tick_occurred(this_arg: &PeerManager) {
+       unsafe { &*this_arg.inner }.timer_tick_occurred()
 }