Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some function names in comment[skip ci] #353

Merged
merged 1 commit into from
Feb 12, 2025
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
2 changes: 1 addition & 1 deletion onchain/liquid.go
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ func (l *LiquidOnChain) FindVout(outputs []*transaction.TxOutput, redeemScript [
return 0, errors.New("vout not found")
}

// creatOpeningAddress returns the address for the opening tx
// CreateOpeningAddress returns the address for the opening tx
func (l *LiquidOnChain) CreateOpeningAddress(redeemScript []byte) (string, error) {
scriptPubKey := []byte{0x00, 0x20}
witnessProgram := sha256.Sum256(redeemScript)
Expand Down
2 changes: 1 addition & 1 deletion swap/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ func (s *SwapService) OnSwapInRequestReceived(swapId *SwapId, peerId string, mes
return err
}

// OnSwapInRequestReceived creates a new swap-out process and sends the event to the swap statemachine
// OnSwapOutRequestReceived creates a new swap-out process and sends the event to the swap statemachine
func (s *SwapService) OnSwapOutRequestReceived(swapId *SwapId, peerId string, message *SwapOutRequestMessage) error {
rs, err := s.swapServices.lightning.ReceivableMsat(message.Scid)
if err != nil {
Expand Down