metafy-social / web3-smart-contracts

A repository of smart-contracts in the web3 space, all in a simple and collective space of hardhat for you to refer anytime
GNU General Public License v3.0
54 stars 45 forks source link

Add modifier to BankingSystem.sol #144

Open rajdip-b opened 1 year ago

rajdip-b commented 1 year ago

Describe the bug Banking System contract two functions using a check that can be moved into a modifier that would reduce code duplication

I want to fix this issue.

Upendra-Jaiswal commented 1 year ago

I have commited the change, added modifier .. kindly check and merge it.