Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

fix(rpc): pool next at dao claim cell panic #344

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/rpc/core/src/impl/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2646,7 +2646,7 @@ impl<C: CkbRpc> MercuryRpcImpl<C> {
))
.pack();
transfer_components.type_witness_args.insert(
transfer_components.inputs.len() - 1,
transfer_components.inputs.len(),
(witness_args_input_type, packed::BytesOpt::default()),
);

Expand Down
2 changes: 0 additions & 2 deletions core/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,7 @@ impl Service {
match self.get_block_by_number(tip_number + 1).await {
Ok(Some(block)) => {
if block.parent_hash().raw_data() == tip_hash.0.to_vec() {
log::info!("start change current epoch");
self.change_current_epoch(block.epoch().to_rational());
log::info!("finish change current epoch");
log::info!("start append {}, {}", block.number(), block.hash());
self.store
.append_block(Context::new(), block)
Expand Down