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-05-27 15:46:09 +12:00
committed by ian.he
parent de90242456
commit b2f03e500e
+1 -3
View File
@@ -4,7 +4,7 @@
import { CodecArg, Constructor } from './types';
import { assert, isNumber, isNull, isString, isUndefined, stringCamelCase, u8aToHex } from '@plugnet/util';
import { assert, isNumber, isNull, isString, isUndefined, stringCamelCase } from '@plugnet/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);
};