Remove contract encoding debug (confirmed working) (#836)

* Remove contract encoding debug (confirmed working)

* Remove (now-unused) import
This commit is contained in:
Jaco Greeff
2019-04-12 07:57:20 +02:00
committed by GitHub
parent d36b1e1e31
commit 4aa1783e3c
+1 -3
View File
@@ -4,7 +4,7 @@
import { CodecArg, Constructor } from './types';
import { assert, isNumber, isNull, isString, isUndefined, stringCamelCase, u8aToHex } from '@polkadot/util';
import { assert, isNumber, isNull, isString, isUndefined, stringCamelCase } from '@polkadot/util';
import Compact from './codec/Compact';
import { createClass } from './codec/createType';
@@ -134,8 +134,6 @@ export default class ContractAbi implements Contract {
}, { ...baseStruct })
).toU8a();
console.error('hexToU8a(encoded)', u8aToHex(u8a));
return Compact.addLengthPrefix(u8a);
};