Skip to content

Commit acd9332

Browse files
committed
Allow inconsistent digit grouping
There is a conversion of sats to btc that uses groupings of 100_000_000. Allow this inconsistent digit grouping to aid in readability and remove the lint error.
1 parent b5777a7 commit acd9332

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

integration_test/tests/raw_transactions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ fn create_sign_with_key_send(node: &Node) {
546546
// - fund_raw_transaction
547547
// - sign_raw_transaction_with_wallet (sign_raw_transaction was deprecated in v0.17).
548548
// - send_raw_transaction
549+
#[allow(clippy::inconsistent_digit_grouping)] // Sats to btc is a common use case.
549550
fn create_fund_sign_send(node: &Node) {
550551
let (_addr, _tx, txid, _tx_out, vout) = create_utxo(node);
551552

0 commit comments

Comments
 (0)