A total of 100 patients with actively bleeding gastroduodenal ulcers were assigned randomly to either an autologous blood injection ( group A , n = 50 ) or a diluted epinephrine injection ( group B , n = 50 ) along the edges of the ulcers .