Fix linked maps (#878)

* Fix linked maps

* Line breaks
This commit is contained in:
Amaury Martiny
2019-05-07 15:35:15 +02:00
committed by GitHub
parent a9e4153800
commit 6396c8df80
6 changed files with 42 additions and 19 deletions
@@ -45,7 +45,7 @@ export default function createFunction (section: Text | string, method: Text | s
assert(!isUndefined(arg) && !isNull(arg), `${meta.name} expects one argument`);
const type = meta.type.asMap.key.toString();
const param = createType(type, arg).toU8a(false);
const param = createType(type, arg).toU8a();
key = u8aConcat(key, param);
}