Files
common/packages/trie-db/src/constants.ts
T
Jaco Greeff 78e01a0e16 Combine util, types & trie into common (#150)
* Pull in trie repo

* Bring in types repo
2018-06-26 21:26:51 +02:00

14 lines
376 B
TypeScript

// Copyright 2017-2018 @polkadot/trie-db authors & contributors
// This software may be modified and distributed under the terms
// of the MPL-2.0 license. See the LICENSE file for details.
import trieRoot from '@polkadot/trie-hash/root';
const EMPTY_ROOT_U8A = trieRoot([]);
const EMPTY_ROOT_STR = EMPTY_ROOT_U8A.toString();
export {
EMPTY_ROOT_U8A,
EMPTY_ROOT_STR
};