mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-25 18:01:20 +02:00
multi: fix verbose output for listsweeps and check all against wallet
Previously, the verbose output of listsweeps would fail if we did not find some sweeps in our wallet's listtransactions output. This could be the case for sweeps that were rbf-ed, so the endpoint would fail. This commit also updates the listsweeps endpoint to always check against the wallet, so that we do not return these discarded sweeps that never confirmed.
This commit is contained in:
@@ -1117,7 +1117,8 @@ var xxx_messageInfo_BumpFeeResponse proto.InternalMessageInfo
|
||||
type ListSweepsRequest struct {
|
||||
//
|
||||
//Retrieve the full sweep transaction details. If false, only the sweep txids
|
||||
//will be returned.
|
||||
//will be returned. Note that some sweeps that LND publishes will have been
|
||||
//replaced-by-fee, so will not be included in this output.
|
||||
Verbose bool `protobuf:"varint,1,opt,name=verbose,proto3" json:"verbose,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
|
Reference in New Issue
Block a user