Пример #1
0
        private ErrorCode CreatePaymentAddressHandler(int command_handle, IntPtr wallet_handle, string config, PaymentMethodResultDelegate cb)
        {
            string paymentAddress = _handler.CreatePaymentAddress();

            cb(command_handle, (int)ErrorCode.Success, paymentAddress);
            return(ErrorCode.Success);
        }