Skip to content

Commit 9026da0

Browse files
committed
fix: formatting
1 parent 95d4db2 commit 9026da0

File tree

1 file changed

+7
-7
lines changed
  • actors/evm/src/interpreter/instructions

1 file changed

+7
-7
lines changed

actors/evm/src/interpreter/instructions/call.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,13 @@ pub fn call_generic<RT: Runtime>(
275275
};
276276

277277
let code = match system.rt.resolve_builtin_actor_type(&cid) {
278-
Some(Type::EVM) => system.rt
279-
.send(&dst_addr, crate::Method::GetBytecode as u64, Default::default(), TokenAmount::zero())?
280-
.deserialize()?
281-
,
282-
// other builtin actors & native actors
283-
_ => todo!("revert when calling delegate call for native actors")
284-
};
278+
Some(Type::EVM) => system.rt
279+
.send(&dst_addr, crate::Method::GetBytecode as u64, Default::default(), TokenAmount::zero())?
280+
.deserialize()?
281+
,
282+
// other builtin actors & native actors
283+
_ => todo!("revert when calling delegate call for native actors")
284+
};
285285

286286
// and then invoke self with delegate; readonly context is sticky
287287
let params = DelegateCallParams {

0 commit comments

Comments
 (0)