We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9da959 commit 1e11ee2Copy full SHA for 1e11ee2
fee/src/lib.rs
@@ -63,7 +63,7 @@ pub fn calculate_fee_details(
63
}
64
65
/// Calculate fees from signatures.
66
-fn calculate_signature_fee(
+pub fn calculate_signature_fee(
67
SignatureCounts {
68
num_transaction_signatures,
69
num_ed25519_signatures,
@@ -82,7 +82,7 @@ fn calculate_signature_fee(
82
signature_count.saturating_mul(lamports_per_signature)
83
84
85
-struct SignatureCounts {
+pub struct SignatureCounts {
86
pub num_transaction_signatures: u64,
87
pub num_ed25519_signatures: u64,
88
pub num_secp256k1_signatures: u64,
0 commit comments