How do legal differences and learning affect financial contracts? /