Exclude locked outputs for listunspent.

Fixes #104.
This commit is contained in:
Josh Rickmar 2014-06-27 15:05:00 -05:00
parent 3ab6db5c7d
commit 8cc066b8f3

View file

@ -974,6 +974,9 @@ func (am *AccountManager) ListUnspent(minconf, maxconf int,
continue
}
}
if a.LockedOutpoint(*credit.OutPoint()) {
continue
}
_, addrs, _, _ := credit.Addresses(activeNet.Params)
if filter {