@@ -30,7 +30,7 @@ import (
3030)
3131
3232const (
33- ipcAPIs = "admin:1.0 debug:1.0 eth:1.0 xhash:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0"
33+ ipcAPIs = "admin:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0 xhash :1.0"
3434 httpAPIs = "eth:1.0 net:1.0 rpc:1.0 web3:1.0"
3535)
3636
@@ -63,7 +63,7 @@ func TestConsoleWelcome(t *testing.T) {
6363 prlx .SetTemplateFunc ("gover" , runtime .Version )
6464 prlx .SetTemplateFunc ("prlxver" , func () string { return params .VersionWithCommit ("" , "" ) })
6565 prlx .SetTemplateFunc ("niltime" , func () string {
66- return time .Unix (1758061124 , 0 ).Format ("Mon Jan 02 2006 15:04:05 GMT-0700 (MST)" )
66+ return time .Unix (1759695695 , 0 ).Format ("Mon Jan 02 2006 15:04:05 GMT-0700 (MST)" )
6767 })
6868 prlx .SetTemplateFunc ("apis" , func () string { return ipcAPIs })
6969
@@ -134,7 +134,7 @@ func testAttachWelcome(t *testing.T, prlx *testprlx, endpoint, apis string) {
134134 attach .SetTemplateFunc ("prlxver" , func () string { return params .VersionWithCommit ("" , "" ) })
135135 attach .SetTemplateFunc ("coinbase" , func () string { return prlx .Coinbase })
136136 attach .SetTemplateFunc ("niltime" , func () string {
137- return time .Unix (1758061124 , 0 ).Format ("Mon Jan 02 2006 15:04:05 GMT-0700 (MST)" )
137+ return time .Unix (1759695695 , 0 ).Format ("Mon Jan 02 2006 15:04:05 GMT-0700 (MST)" )
138138 })
139139 attach .SetTemplateFunc ("ipc" , func () bool { return strings .HasPrefix (endpoint , "ipc" ) })
140140 attach .SetTemplateFunc ("datadir" , func () string { return prlx .Datadir })
0 commit comments