Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions AddressOwnershipTool/Commands/Claim/ClaimInstruction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ public class ClaimInstruction : BaseInstruction
[Option('p', "privkeyfile", Required = false, HelpText = "Please provide private key file, if used all other settings not required.")]
public string PrivateKeyFile { get; set; }

[Option('z', "deep", Required = false, HelpText = "Perform deep scan. Generally only needed if cold staking addresses need to be included")]
public bool Deep { get; set; }

public ClaimCommand ToCommand()
{
return new ClaimCommand
Expand All @@ -38,6 +41,7 @@ public ClaimCommand ToCommand()
WalletName = WalletName,
Testnet = Testnet,
PrivateKeyFile = PrivateKeyFile,
Deep = Deep,
UseCirrus = UseCirrus,
Destination = Destination,
DataFolder = DataFolder,
Expand Down
2 changes: 1 addition & 1 deletion AddressOwnershipTool/Common/AddressOwnershipService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public void SbfnExport(string walletName, string walletPassword, string destinat

public void HdAddressExport(Wallet wallet, string walletPassword, string destinationAddress, bool deepExport = false)
{
foreach (HdAddress address in wallet.GetAllAddresses())
foreach (HdAddress address in wallet.GetAllAddresses(Wallet.AllAccounts))
{
if (address.Transactions.Count == 0 && !deepExport)
continue;
Expand Down