diff --git a/core/accounting.go b/core/accounting.go index ccb035b65d..f515b13fa1 100644 --- a/core/accounting.go +++ b/core/accounting.go @@ -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) } @@ -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() diff --git a/server/broadcast.go b/server/broadcast.go index 1689c6c335..885ce2a1ad 100755 --- a/server/broadcast.go +++ b/server/broadcast.go @@ -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,