[bindings] Handle ::-prefixed paths in a few places
[rust-lightning] / lightning-c-bindings / demo.cpp
index 7829f0265f3a2b4fc40950d4d252ae46889a74a9..8fa20209a6412db31e3820743689f25567677641 100644 (file)
@@ -115,6 +115,7 @@ static int num_txs_broadcasted = 0; // Technically a race, but ints are atomic o
 void broadcast_tx(const void *this_arg, LDKTransaction tx) {
        num_txs_broadcasted += 1;
        //TODO
+       Transaction_free(tx);
 }
 
 struct NodeMonitors {