ethereum: fix typos in interfaces.go (#15149)

This commit is contained in:
Kyuntae Ethan Kim 2017-09-15 18:30:17 +09:00 committed by Felix Lange
parent 5705ad004e
commit c197d805f7
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ type SyncProgress struct {
CurrentBlock uint64 // Current block number where sync is at CurrentBlock uint64 // Current block number where sync is at
HighestBlock uint64 // Highest alleged block number in the chain HighestBlock uint64 // Highest alleged block number in the chain
PulledStates uint64 // Number of state trie entries already downloaded PulledStates uint64 // Number of state trie entries already downloaded
KnownStates uint64 // Total number os state trie entries known about KnownStates uint64 // Total number of state trie entries known about
} }
// ChainSyncReader wraps access to the node's current sync status. If there's no // ChainSyncReader wraps access to the node's current sync status. If there's no
@ -129,7 +129,7 @@ type ContractCaller interface {
CallContract(ctx context.Context, call CallMsg, blockNumber *big.Int) ([]byte, error) CallContract(ctx context.Context, call CallMsg, blockNumber *big.Int) ([]byte, error)
} }
// FilterQuery contains options for contact log filtering. // FilterQuery contains options for contract log filtering.
type FilterQuery struct { type FilterQuery struct {
FromBlock *big.Int // beginning of the queried range, nil means genesis block FromBlock *big.Int // beginning of the queried range, nil means genesis block
ToBlock *big.Int // end of the range, nil means latest block ToBlock *big.Int // end of the range, nil means latest block