Carrying out an action thinking it to be good
Q: If I did something with a good intention, and, at that time, thought it was a very good deed. If I later found out that it may actually be the wrong thing to do, will I still get the reward for what I intended and thought it was (a good deed)?