Ejemplo n.º 1
0
        private void GetLastHeight(Action <ErrorCode, UInt64> handler)
        {
            GCHandle handlerHandle = GCHandle.Alloc(handler);
            IntPtr   handlerPtr    = (IntPtr)handlerHandle;

            ChainNative.kth_chain_async_last_height(nativeInstance_, handlerPtr, internalGetLastHeightHandler_);
        }