Skip to content

Commit

Permalink
Merge pull request #354 from guggero/rollback-default-channel-type
Browse files Browse the repository at this point in the history
rpcserver: roll back #330
  • Loading branch information
guggero authored Apr 19, 2022
2 parents 5ea41c9 + bf74283 commit a272222
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,13 @@ func (s *rpcServer) SubmitOrder(ctx context.Context,
s.server.lndServices.Version, scriptEnforceVersion,
)
if verErr == nil {
return order.ChannelTypeScriptEnforced
// TODO(guggero): Use order.ChannelTypeScriptEnforced
// here as soon as a large percentage of ask orders
// support script enforced channel types to not cause a
// market segregation for lnd 0.14.x or later users
// without them being aware of why their bids aren't
// getting matched.
return order.ChannelTypePeerDependent
}

return order.ChannelTypePeerDependent
Expand Down

0 comments on commit a272222

Please sign in to comment.