Skip to content

Commit

Permalink
use default wallet (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
getong authored Nov 22, 2024
1 parent 43b39fb commit 804ab3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/indexer-proxy/proxy/src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ pub async fn handle_account(value: &Value) -> Result<()> {
});

let (controller, peer) = if let Some(sk) = fetch_controller {
let sk = COMMAND.decrypt(sk)?;
let sk = COMMAND.decrypt(sk).unwrap_or(
"0x0000000000000000000000000000000000000000000000000000000000000001".to_string(),
);

let controller = sk[2..]
.parse::<LocalWallet>()
Expand Down

0 comments on commit 804ab3e

Please sign in to comment.