diff --git a/web3.nim b/web3.nim index e742e1e..81c5d27 100644 --- a/web3.nim +++ b/web3.nim @@ -14,7 +14,7 @@ template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0] createRpcSigs(RpcClient, sourceDir & DirSep & "web3" & DirSep & "ethcallsigs.nim") export UInt256, Int256, Uint128, Int128 -export ethtypes, conversions +export ethtypes, conversions, encoding type Web3* = ref object diff --git a/web3/encoding.nim b/web3/encoding.nim index 11e5bef..9cb7c80 100644 --- a/web3/encoding.nim +++ b/web3/encoding.nim @@ -208,4 +208,4 @@ func encode*(x: openArray[Encodable]): EncodeResult = func decode*[T; I: static int](input: string, to: array[0..I, T]): array[0..I, T] = for i in 0..I: - result[i] = input[i*64 .. (i+1)*64].decode(T) \ No newline at end of file + result[i] = input[i*64 .. (i+1)*64].decode(T)