Skip to content

Commit 6ae0d65

Browse files
committed
Simplify
1 parent 2cd81ec commit 6ae0d65

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/stablecoin.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,7 @@ function addCustodian(c: ContractBuilder, access: Access) {
237237
case 'managed': {
238238
const logic = [
239239
`(bool immediate,) = AuthorityUtils.canCallWithDelay(authority(), user, address(this), bytes4(_msgData()[0:4]));`,
240-
`if (!immediate) return false;`,
241-
`return true;`
240+
`return immediate;`
242241
]
243242
c.setFunctionBody(logic, functions._isCustodian);
244243
break;

0 commit comments

Comments
 (0)