From f6e3abdaa216176260da9d55e0180f35a521ed9c Mon Sep 17 00:00:00 2001 From: Delweng Date: Tue, 30 May 2023 10:31:48 +0800 Subject: [PATCH] Update eth/api.go Co-authored-by: rjl493456442 --- eth/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/api.go b/eth/api.go index bad6860fd5875..cdbc8040a40c4 100644 --- a/eth/api.go +++ b/eth/api.go @@ -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() }