Skip to content

Commit 1c759bf

Browse files
committed
forgot to revert the code in one of the test cases
1 parent f586dda commit 1c759bf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tests/web3swiftTests/localTests/web3swiftPromisesTests.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ class web3swiftPromisesTests: XCTestCase {
3434
let txHash = writeResult.hash
3535
let result = try web3.eth.getTransactionDetailsPromise(txHash).wait()
3636
print(result)
37-
let options = result.transaction.getOptions()
38-
let txnGasLimit = options.resolveGasLimit(0)
39-
XCTAssert(txnGasLimit == BigUInt(gasLimit))
37+
XCTAssert(result.transaction.gasLimit == BigUInt(gasLimit))
4038
}
4139

4240
func testEstimateGasPromise() throws {

0 commit comments

Comments
 (0)