diff --git a/contractabi/decoding.nim b/contractabi/decoding.nim index e9d2cb3..cdf1bd3 100644 --- a/contractabi/decoding.nim +++ b/contractabi/decoding.nim @@ -64,8 +64,8 @@ func decode*(decoder: var AbiDecoder, T: type bool): T = func decode*(decoder: var AbiDecoder, T: type enum): T = T(decoder.read(uint64)) -func decode*[I: static int](decoder: var AbiDecoder, T: type array[I,byte]): T = - result[0..