Skip to content

Commit

Permalink
Update eth/api.go
Browse files Browse the repository at this point in the history
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
  • Loading branch information
jsvisa and rjl493456442 committed May 30, 2023
1 parent 4d16075 commit f6e3abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/api.go
Expand Up @@ -614,6 +614,6 @@ func (api *DebugAPI) SetTrieFlushInterval(interval string) error {

// GetTrieFlushInterval gets the current value of in-memroy tries flush interval
func (api *DebugAPI) GetTrieFlushInterval() string {
interval := api.eth.blockchain.GetTrieFlushInterval()
return api.eth.blockchain.GetTrieFlushInterval().String()
return interval.String()
}

0 comments on commit f6e3abd

Please sign in to comment.