JoshOrndorff / recipes

A Hands-On Cookbook for Aspiring Blockchain Chefs
GNU General Public License v3.0
376 stars 186 forks source link

Prefer .expect() rather than .uwrap() method #369

Closed herou closed 3 years ago

herou commented 3 years ago

The title is already descriptive. Replace the .unwrap() method with the .expect().

Note: This is a follow-up of this #277 ticket.

jimmychu0807 commented 3 years ago

Yea, I agree expect() is preferred, if we have meaningful error messages 😄 . Otherwise I feel fine to leave it as unwrap().

Closing it for now.