Answer:
Well it affected both chinese immigrants and former slaves because they both needed the money from the gold to support their families who already had less money to support themselves. But there were more former slaves though who were more heavily represented as gold prospectors.