mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-28 19:55:20 +08:00
chore: Address PR comments from Jude
This commit is contained in:
@@ -710,11 +710,11 @@ impl TransactionSpendingCondition {
|
||||
|
||||
Some(TransactionSpendingCondition::Singlesig(
|
||||
SinglesigSpendingCondition {
|
||||
signer: signer_addr.bytes.clone(),
|
||||
signer: signer_addr.bytes,
|
||||
nonce: 0,
|
||||
tx_fee: 0,
|
||||
hash_mode: SinglesigHashMode::P2PKH,
|
||||
key_encoding: key_encoding,
|
||||
key_encoding,
|
||||
signature: MessageSignature::empty(),
|
||||
},
|
||||
))
|
||||
@@ -730,7 +730,7 @@ impl TransactionSpendingCondition {
|
||||
|
||||
Some(TransactionSpendingCondition::Singlesig(
|
||||
SinglesigSpendingCondition {
|
||||
signer: signer_addr.bytes.clone(),
|
||||
signer: signer_addr.bytes,
|
||||
nonce: 0,
|
||||
tx_fee: 0,
|
||||
hash_mode: SinglesigHashMode::P2WPKH,
|
||||
@@ -753,7 +753,7 @@ impl TransactionSpendingCondition {
|
||||
|
||||
Some(TransactionSpendingCondition::Multisig(
|
||||
MultisigSpendingCondition {
|
||||
signer: signer_addr.bytes.clone(),
|
||||
signer: signer_addr.bytes,
|
||||
nonce: 0,
|
||||
tx_fee: 0,
|
||||
hash_mode: MultisigHashMode::P2SH,
|
||||
@@ -776,7 +776,7 @@ impl TransactionSpendingCondition {
|
||||
|
||||
Some(TransactionSpendingCondition::OrderIndependentMultisig(
|
||||
OrderIndependentMultisigSpendingCondition {
|
||||
signer: signer_addr.bytes.clone(),
|
||||
signer: signer_addr.bytes,
|
||||
nonce: 0,
|
||||
tx_fee: 0,
|
||||
hash_mode: OrderIndependentMultisigHashMode::P2SH,
|
||||
@@ -799,7 +799,7 @@ impl TransactionSpendingCondition {
|
||||
|
||||
Some(TransactionSpendingCondition::OrderIndependentMultisig(
|
||||
OrderIndependentMultisigSpendingCondition {
|
||||
signer: signer_addr.bytes.clone(),
|
||||
signer: signer_addr.bytes,
|
||||
nonce: 0,
|
||||
tx_fee: 0,
|
||||
hash_mode: OrderIndependentMultisigHashMode::P2WSH,
|
||||
@@ -822,7 +822,7 @@ impl TransactionSpendingCondition {
|
||||
|
||||
Some(TransactionSpendingCondition::Multisig(
|
||||
MultisigSpendingCondition {
|
||||
signer: signer_addr.bytes.clone(),
|
||||
signer: signer_addr.bytes,
|
||||
nonce: 0,
|
||||
tx_fee: 0,
|
||||
hash_mode: MultisigHashMode::P2WSH,
|
||||
|
||||
@@ -601,7 +601,7 @@ impl StacksBlock {
|
||||
}
|
||||
}
|
||||
if !tx.auth.is_supported_in_epoch(epoch_id) {
|
||||
error!("Order independent multisig transactions not supported before Stacks 3.0");
|
||||
error!("Authentication mode not supported in Epoch {epoch_id}");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user