Skip to content
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
4 changes: 2 additions & 2 deletions core/accounting.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func NewAddressBalances(ttl time.Duration) *AddressBalances {
}
}

// Credit adds an an amount to the balance for an address' ManifestID
// Credit adds an amount to the balance for an address' ManifestID
func (a *AddressBalances) Credit(addr ethcommon.Address, id ManifestID, amount *big.Rat) {
a.balancesForAddr(addr).Credit(id, amount)
}
Expand Down Expand Up @@ -142,7 +142,7 @@ func NewBalances(ttl time.Duration) *Balances {
}
}

// Credit adds an an amount to the balance for a ManifestID
// Credit adds an amount to the balance for a ManifestID
func (b *Balances) Credit(id ManifestID, amount *big.Rat) {
b.mtx.Lock()
defer b.mtx.Unlock()
Expand Down
2 changes: 1 addition & 1 deletion server/broadcast.go
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ func verify(verifier *verification.SegmentVerifier, cxn *rtmpConnection,
sess.lock.RUnlock()
// Cache segment contents in params.Renditions
// If we need to retry transcoding because verification fails,
// the the segments' OS location will be overwritten.
// the segments' OS location will be overwritten.
// Cache the segments so we can restore them in OS if necessary.
params := &verification.Params{
ManifestID: sess.Params.ManifestID,
Expand Down
Loading