core/types: fixed typo (#21897)

pull/21906/head
Marius van der Wijden 4 years ago committed by GitHub
parent 59b480ab4b
commit 29efe1fc7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/types/transaction.go

@ -213,7 +213,7 @@ func (tx *Transaction) Hash() common.Hash {
}
// 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 {
if size := tx.size.Load(); size != nil {
return size.(common.StorageSize)

Loading…
Cancel
Save