Exemplo n.º 1
0
        private void ValidateTransaction(Transaction transaction, Action <ErrorCode, string> handler)
        {
            GCHandle handlerHandle = GCHandle.Alloc(handler);
            IntPtr   handlerPtr    = (IntPtr)handlerHandle;

            ChainNative.kth_chain_transaction_validate(nativeInstance_, handlerPtr, transaction.NativeInstance, internalValidateTxHandler_);
        }