We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c28cae commit d397626Copy full SHA for d397626
Sources/Web3Core/EthereumABI/ABIDecoding.swift
@@ -181,7 +181,7 @@ extension ABIDecoder {
181
case .function:
182
guard elementItself.count >= 32 else {break}
183
let dataSlice = elementItself[startIndex + 8 ..< startIndex + 32]
184
- return (dataSlice, type.memoryUsage)
+ return (Data(dataSlice), type.memoryUsage)
185
}
186
return (nil, nil)
187
0 commit comments