rmrk-team / rmrk-substrate

[WIP] RMRK Substrate pallets
https://rmrk.app
Other
74 stars 36 forks source link

Safety pass: avoid usage of unwrap #231

Closed ilionic closed 1 year ago

ilionic commented 1 year ago

Refactor all occurrences of .unwrap() in rmrk-equip pallet ( lib and functions files ) In rmrk-core pallet unwrap seem to be safe but good to refactor for consistency.

N.B. fine to keep unwrap in tests