Skip to content

Commit

Permalink
Simplified the reveal PK transaction construction flow. Factored chai…
Browse files Browse the repository at this point in the history
…n_id reading from submit functions.
  • Loading branch information
Murisi Tarusenga authored and Fraccaman committed Jul 5, 2023
1 parent 0d0f372 commit e4e58ef
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 307 deletions.
3 changes: 2 additions & 1 deletion apps/src/lib/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3346,7 +3346,8 @@ pub mod args {
tx_reveal_code_path: self.tx_reveal_code_path,
password: self.password,
expiration: self.expiration,
chain_id: self.chain_id,
chain_id: self.chain_id
.or_else(|| Some(ctx.config.ledger.chain_id.clone())),
}
}
}
Expand Down
Loading

0 comments on commit e4e58ef

Please sign in to comment.