mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-22 09:21:32 +00:00
Use BlockCache for RPC/mempool and added TxId()
TxId() uses signbytes
This commit is contained in:
@ -13,8 +13,8 @@ func GenPrivAccount() (*ResponseGenPrivAccount, error) {
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
func GetAccount(address []byte) (*ResponseGetAccount, error) {
|
||||
state := consensusState.GetState()
|
||||
return &ResponseGetAccount{state.GetAccount(address)}, nil
|
||||
cache := mempoolReactor.Mempool.GetCache()
|
||||
return &ResponseGetAccount{cache.GetAccount(address)}, nil
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user