Skip to content

Commit ee2ef2d

Browse files
committed
test: fix too long txids
1 parent e37f5e0 commit ee2ef2d

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

stackslib/src/chainstate/stacks/db/transactions.rs

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6876,12 +6876,7 @@ pub mod test {
68766876
mode,
68776877
origin,
68786878
&ft_transfer_2,
6879-
Txid(
6880-
"1232121232121232121232121232121232121232121232121232121232121232"
6881-
.as_bytes()
6882-
.try_into()
6883-
.unwrap(),
6884-
),
6879+
Txid([0; 32]),
68856880
)
68866881
.unwrap();
68876882
if result != expected_result {
@@ -7235,12 +7230,7 @@ pub mod test {
72357230
mode,
72367231
origin,
72377232
&nft_transfer_2,
7238-
Txid(
7239-
"1232121232121232121232121232121232121232121232121232121232121232"
7240-
.as_bytes()
7241-
.try_into()
7242-
.unwrap(),
7243-
),
7233+
Txid([0; 32]),
72447234
)
72457235
.unwrap();
72467236
if result != expected_result {
@@ -8058,12 +8048,7 @@ pub mod test {
80588048
post_condition_mode,
80598049
origin_account,
80608050
asset_map,
8061-
Txid(
8062-
"1232121232121232121232121232121232121232121232121232121232121232"
8063-
.as_bytes()
8064-
.try_into()
8065-
.unwrap(),
8066-
),
8051+
Txid([0; 32]),
80678052
)
80688053
.unwrap();
80698054
if result != expected_result {

0 commit comments

Comments
 (0)