mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
core/state: method docs
This commit is contained in:
parent
29ef67ccfc
commit
56352c242d
2 changed files with 2 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ func (al *accessList) Equal(other *accessList) bool {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PrettyPrint prints the contents of the access list in a human-readable form
|
||||||
func (al *accessList) PrettyPrint() string {
|
func (al *accessList) PrettyPrint() string {
|
||||||
out := new(strings.Builder)
|
out := new(strings.Builder)
|
||||||
var sortedAddrs []common.Address
|
var sortedAddrs []common.Address
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,7 @@ func (t transientStorage) Copy() transientStorage {
|
||||||
return storage
|
return storage
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PrettyPrint prints the contents of the access list in a human-readable form
|
||||||
func (t transientStorage) PrettyPrint() string {
|
func (t transientStorage) PrettyPrint() string {
|
||||||
out := new(strings.Builder)
|
out := new(strings.Builder)
|
||||||
var sortedAddrs []common.Address
|
var sortedAddrs []common.Address
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue