OSDN Git Service

when wallet disable, wallet related api redirect to error (#483)
authoroysheng <33340252+oysheng@users.noreply.github.com>
Mon, 26 Mar 2018 09:34:44 +0000 (17:34 +0800)
committerYongfeng LI <wliyongfeng@gmail.com>
Mon, 26 Mar 2018 09:34:44 +0000 (17:34 +0800)
commita8eb1d9c1f8ff12f40735f6249da4e1348d34395
tree10e6c00d136a70ad44cbd6e17ebd2deeba45e53e
parentb2eeacc5582047dc1360a13bd535c132cd628e04
when wallet disable, wallet related api redirect to error (#483)

*  *when wallet disable, accesstoken can be call
 *redirect url path to wait-disable when wallet is closed

* fix redirect path to error when wallet is disable

*  move accesstoken from wallet into API

* modify handler value

* add function walletRedirectHandler for latencyHandler
api/accesstokens.go
api/api.go
api/wallet.go
blockchain/reactor.go
node/node.go
wallet/wallet.go