Merge pull request #2707 from joostjager/commit-resolver-fix
cnct: fix error returning bug
This commit is contained in:
commit
475103d8fd
@ -116,7 +116,7 @@ func (c *commitSweepResolver) Resolve() (ContractResolver, error) {
|
|||||||
log.Errorf("%T(%v): unable to sweep input: %v",
|
log.Errorf("%T(%v): unable to sweep input: %v",
|
||||||
c, c.chanPoint, sweepResult.Err)
|
c, c.chanPoint, sweepResult.Err)
|
||||||
|
|
||||||
return nil, err
|
return nil, sweepResult.Err
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Infof("ChannelPoint(%v) commit tx is fully resolved by "+
|
log.Infof("ChannelPoint(%v) commit tx is fully resolved by "+
|
||||||
|
Loading…
Reference in New Issue
Block a user