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