mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
eth: fix spelling in DAO hard fork code comments
This commit is contained in:
parent
b467e7ca66
commit
857839b241
1 changed files with 2 additions and 2 deletions
|
|
@ -96,7 +96,7 @@ func prepareHardForkData(eth *Ethereum) (*DAOHardForkData, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// create list of "The DAO" and all it's children, recursively
|
// create list of "The DAO" and all its children, recursively
|
||||||
daos, err := traverseDAOs(theDAO, eth)
|
daos, err := traverseDAOs(theDAO, eth)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
@ -145,7 +145,7 @@ func traverseDAOs(d *dao.DAO, eth *Ethereum) ([]*dao.DAO, error) {
|
||||||
glog.V(logger.Info).Infof("could not instantiate childDAO: %x %v", childAddr, err)
|
glog.V(logger.Info).Infof("could not instantiate childDAO: %x %v", childAddr, err)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
// append this child, then all it's children (recursively)
|
// append this child, then all its children (recursively)
|
||||||
daos = append(daos, childDAO)
|
daos = append(daos, childDAO)
|
||||||
children, err := traverseDAOs(childDAO, eth)
|
children, err := traverseDAOs(childDAO, eth)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue