chore(registry): drop withdrawal owner lock
Temporarily disable withdrawal unlocker
@@ -977,8 +977,11 @@ async fn submit_withdrawal_request(
rpc_client: Data<RPCClient>,
) -> Result<JsonH256, RpcError> {
let withdrawal_bytes = withdrawal_request.into_bytes();
- let withdrawal =
- packed::WithdrawalRequestExtra::from_request_compitable_slice(&withdrawal_bytes)?;
+ let withdrawal = {
+ let w = packed::WithdrawalRequestExtra::from_request_compitable_slice(&withdrawal_bytes)?;
+ w.as_builder().owner_lock(Pack::pack(&None)).build()
+ };
+ assert!(withdrawal.opt_owner_lock().is_none());
let withdrawal_hash = withdrawal.hash();
// verify finalized custodian
