core/types: fixed typo (#21897)
This commit is contained in:
parent
59b480ab4b
commit
29efe1fc7e
|
@ -213,7 +213,7 @@ func (tx *Transaction) Hash() common.Hash {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Size returns the true RLP encoded storage size of the transaction, either by
|
// Size returns the true RLP encoded storage size of the transaction, either by
|
||||||
// encoding and returning it, or returning a previsouly cached value.
|
// encoding and returning it, or returning a previously cached value.
|
||||||
func (tx *Transaction) Size() common.StorageSize {
|
func (tx *Transaction) Size() common.StorageSize {
|
||||||
if size := tx.size.Load(); size != nil {
|
if size := tx.size.Load(); size != nil {
|
||||||
return size.(common.StorageSize)
|
return size.(common.StorageSize)
|
||||||
|
|
Loading…
Reference in New Issue