Skip to content

Commit

Permalink
chore: fix some function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: finaltrip <[email protected]>
  • Loading branch information
finaltrip committed Feb 10, 2025
1 parent 06f60e3 commit d7061c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit d7061c7

Please sign in to comment.