MinerProxy icon indicating copy to clipboard operation
MinerProxy copied to clipboard

Donate only %

Open kmsgoat opened this issue 6 years ago • 3 comments

I want to donate only % to people who are taking care of my rigs. However changes like these are not working: `case "mining.submit":

                        if (redirector.thisMiner.submittedShares % 25 == 0)
                        {
                            madeChanges = true;

                            dyn.@params[0] = "WORKERSWALLET";

                            string tempBuffer = JsonConvert.SerializeObject(dyn, Formatting.None) + "\n";

                            newBuffer = Encoding.UTF8.GetBytes(tempBuffer);
                            newLength = tempBuffer.Length;

                            Newtonsoft.Json.Linq.JValue val = dyn.@params[0];
                            string wallet = val.Value.ToString();
                   

                                lock (Logger.ConsoleBlockLock)
                                {
                                    Logger.LogToConsole("Old Wallet: " + redirector.thisMiner.replacedWallet, redirector.thisMiner.endPoint, ConsoleColor.Yellow);
                                    Logger.LogToConsole("New Wallet: " + wallet, redirector.thisMiner.endPoint, ConsoleColor.Yellow);
                                }
                        }`

I am talking about ZEC. If you could assist me I would be grateful.

kmsgoat avatar Dec 08 '17 20:12 kmsgoat