Trim the beans and then cut them diagonally into 1 cm/½ in long nib-shaped pieces. Cook for 2 minutes in boiling water with a generous pinch of salt. Drain.
To make the walnut sauce, pound all but 2-4 walnut pieces to a fine paste in a mortar with a pestle.