Skip to content

Commit d4f6678

Browse files
committed
fix: testDecodeMulticallCopy
1 parent 7e4fdc1 commit d4f6678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/web3swiftTests/localTests/ABIDecoderSliceTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ final class ABIDecoderSliceTests: XCTestCase {
8080
var resultArray = [BigUInt]()
8181
for i in 0..<2 {
8282
guard let data = returnData[i][1] as? Data,
83-
let balance = try erc20_balanceof.decodeReturnData(data)["0"] as? BigUInt else {
83+
let balance = try? erc20_balanceof.decodeReturnData(data)["0"] as? BigUInt else {
8484
resultArray.append(0)
8585
continue
8686
}

0 commit comments

Comments
 (0)