X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FUtxoFuture.cs;h=45097791cfebc71d9c78e03d175a77022b3d14b8;hb=592c64eb658d92e314a2b983cea16cecf3882474;hp=bf797e5daaf1f38fcb6ca82a82a10efdd53186c0;hpb=12fdbefaac81d5b4be6bb67addd6dcd7c46a182b;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/UtxoFuture.cs b/c_sharp/src/org/ldk/structs/UtxoFuture.cs index bf797e5d..45097791 100644 --- a/c_sharp/src/org/ldk/structs/UtxoFuture.cs +++ b/c_sharp/src/org/ldk/structs/UtxoFuture.cs @@ -60,7 +60,7 @@ public class UtxoFuture : CommonBase { * [`PeerManager::process_events`]: crate::ln::peer_handler::PeerManager::process_events */ public void resolve_without_forwarding(org.ldk.structs.NetworkGraph graph, org.ldk.structs.Result_TxOutUtxoLookupErrorZ result) { - bindings.UtxoFuture_resolve_without_forwarding(this.ptr, graph == null ? 0 : graph.ptr, result != null ? result.ptr : 0); + bindings.UtxoFuture_resolve_without_forwarding(this.ptr, graph.ptr, result.ptr); GC.KeepAlive(this); GC.KeepAlive(graph); GC.KeepAlive(result); @@ -81,7 +81,7 @@ public class UtxoFuture : CommonBase { * [`PeerManager::process_events`]: crate::ln::peer_handler::PeerManager::process_events */ public void resolve(org.ldk.structs.NetworkGraph graph, org.ldk.structs.P2PGossipSync gossip, org.ldk.structs.Result_TxOutUtxoLookupErrorZ result) { - bindings.UtxoFuture_resolve(this.ptr, graph == null ? 0 : graph.ptr, gossip == null ? 0 : gossip.ptr, result != null ? result.ptr : 0); + bindings.UtxoFuture_resolve(this.ptr, graph.ptr, gossip.ptr, result.ptr); GC.KeepAlive(this); GC.KeepAlive(graph); GC.KeepAlive(gossip);