mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
rustfmt
This commit is contained in:
parent
836d5441e6
commit
a5553ebba5
1 changed files with 3 additions and 2 deletions
|
@ -28,8 +28,8 @@ use core::core::hash::Hashed;
|
||||||
use core::core::{Output, OutputFeatures, OutputIdentifier, Transaction, TxKernel};
|
use core::core::{Output, OutputFeatures, OutputIdentifier, Transaction, TxKernel};
|
||||||
use core::{consensus, global, pow};
|
use core::{consensus, global, pow};
|
||||||
use keychain::ExtKeychain;
|
use keychain::ExtKeychain;
|
||||||
use wallet::file_wallet::FileWallet;
|
|
||||||
use wallet::WalletConfig;
|
use wallet::WalletConfig;
|
||||||
|
use wallet::file_wallet::FileWallet;
|
||||||
use wallet::libwallet::internal::updater;
|
use wallet::libwallet::internal::updater;
|
||||||
use wallet::libwallet::types::{BlockFees, BlockIdentifier, MerkleProofWrapper, OutputStatus,
|
use wallet::libwallet::types::{BlockFees, BlockIdentifier, MerkleProofWrapper, OutputStatus,
|
||||||
WalletBackend};
|
WalletBackend};
|
||||||
|
@ -84,7 +84,8 @@ where
|
||||||
let mut unconfirmed_total = 0;
|
let mut unconfirmed_total = 0;
|
||||||
let mut locked_total = 0;
|
let mut locked_total = 0;
|
||||||
let keychain = wallet.keychain().clone();
|
let keychain = wallet.keychain().clone();
|
||||||
for out in wallet.iter()
|
for out in wallet
|
||||||
|
.iter()
|
||||||
.filter(|out| out.root_key_id == keychain.root_key_id())
|
.filter(|out| out.root_key_id == keychain.root_key_id())
|
||||||
{
|
{
|
||||||
if out.status == OutputStatus::Unspent {
|
if out.status == OutputStatus::Unspent {
|
||||||
|
|
Loading…
Reference in a new issue