Skip to content

Commit f5d8417

Browse files
committed
Fix a few clippy errors and adjust a test function to use the proper name
1 parent bbfc4b0 commit f5d8417

File tree

2 files changed

+1
-3
lines changed
  • stacks-signer/src/v0
  • testnet/stacks-node/src/tests/signer

2 files changed

+1
-3
lines changed

stacks-signer/src/v0/signer.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ use blockstack_lib::net::api::postblock_proposal::{
2525
TOO_MANY_REQUESTS_STATUS,
2626
};
2727
use blockstack_lib::util_lib::db::Error as DBError;
28-
#[cfg(any(test, feature = "testing"))]
29-
use clarity::types::chainstate::StacksPublicKey;
3028
use clarity::types::chainstate::{StacksBlockId, StacksPrivateKey};
3129
use clarity::types::{PrivateKey, StacksEpochId};
3230
use clarity::util::hash::{MerkleHashFunc, Sha512Trunc256Sum};

testnet/stacks-node/src/tests/signer/v0.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@ fn revalidate_unknown_parent() {
19581958

19591959
let sender_nonce = get_account(&conf_node_2.node.data_url, &sender_addr).nonce;
19601960
let recipient = PrincipalData::from(StacksAddress::burn_address(false));
1961-
let transfer_tx = make_stacks_transfer(
1961+
let transfer_tx = make_stacks_transfer_serialized(
19621962
&sender_sk,
19631963
sender_nonce,
19641964
send_fee,

0 commit comments

Comments
 (0)