The Courageous Avenger(1935)

Kirk Baxter has been sent to investigate murder and robbery involving gold shipments. Identifying a gang member by his bullets, he uses that man's horse to locate and join the gang. He learns the gang is tipped off to the shipments by a mine employee using carrier pigeons. But the next message reveals his true identity and he is made a prisoner.