Skip to content

Commit

Permalink
chore: fix unit test cycle error
Browse files Browse the repository at this point in the history
  • Loading branch information
quake committed Jan 11, 2024
1 parent 28e3889 commit 4231abb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tests/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ fn verify_valid_transaction() {

let swc = StorageWithChainData::new(storage.to_owned(), chain.create_peers());
let result = verify_tx(transaction.into_view(), &swc, consensus).unwrap();
assert_eq!(1682789, result);
// please note that the cycle (1682789) of this transaction displayed on the explorer is wrong
// it's fixed in https://github.com/nervosnetwork/ckb/pull/4218
assert_eq!(1691692, result);
}

#[test]
Expand Down

0 comments on commit 4231abb

Please sign in to comment.