unknown to anyone outside the british secret service until after his death twenty years later , macnally was a traitor to the united irishmens cause and at the time was receiving from the government secret funds an annual salary of 300 worth perhaps 200,000 or $ 300,000 today , in addition to his legal fees .