Skip to content
Open
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
4 changes: 2 additions & 2 deletions dex/networks/dcr/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ func multisigScriptSize(nPub int64) uint64 {
1 // OP_ENDIF
}

// PaymentMultisigRedeemSize returns the redeem tx size based on the number
// PaymentMultisigRedeemTxSize returns the redeem tx size based on the number
// of signatures and pubkeys involved and the number recipients.
func PaymentMultisigRedeemTxSize(nPub, nRequired, nRecipients int64) uint64 {
redeemScriptSize := multisigScriptSize(nPub)
Expand All @@ -1132,7 +1132,7 @@ func PaymentMultisigRedeemTxSize(nPub, nRequired, nRecipients int64) uint64 {
return MsgTxOverhead + inputSize + uint64(nRecipients)*P2PKHOutputSize
}

// PaymentMultisigRefundSize returns the redeem tx size based on the number
// PaymentMultisigRefundTxSize returns the redeem tx size based on the number
// of signatures and pubkeys involved and the number recipients.
func PaymentMultisigRefundTxSize(nPub int64) uint64 {
redeemScriptSize := multisigScriptSize(nPub)
Expand Down
2 changes: 1 addition & 1 deletion dex/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func CleanAndExpandPath(path string) string {
return filepath.Join(homeDir, path)
}

// FilesExists reports whether the named file or directory exists.
// FileExists reports whether the named file or directory exists.
func FileExists(name string) bool {
_, err := os.Stat(name)
return !os.IsNotExist(err)
Expand Down