Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur committed Dec 9, 2024
1 parent 5706253 commit 4c121fc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion chainio/clients/elcontracts/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,13 @@ func (r *ChainReader) UserCanCall(
target gethcommon.Address,
selector [4]byte,
) (bool, error) {
canCall, err := r.permissionController.CanCall(&bind.CallOpts{Context: ctx}, userAddress, callerAddress, target, selector)
canCall, err := r.permissionController.CanCall(
&bind.CallOpts{Context: ctx},
userAddress,
callerAddress,
target,
selector,
)
if err != nil {
return false, errors.New("call to permission controller failed: " + err.Error())
}
Expand Down

0 comments on commit 4c121fc

Please sign in to comment.