Skip to content

Commit aaaabe7

Browse files
pharms-ethJeneaVranceanu
authored andcommitted
restore true
1 parent 713c63d commit aaaabe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/web3swift/Operations/WriteOperation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class WriteOperation: ReadOperation {
2020
/// - sendRaw: If set to `true` transaction will be signed and sent using `eth_sendRawTransaction`.
2121
/// Otherwise, no signing attempts will take place and the `eth_sendTransaction` RPC will be used instead.
2222
/// Default value is `false`.
23-
public func writeToChain(password: String, policies: Policies = .auto, sendRaw: Bool = false) async throws -> TransactionSendingResult {
23+
public func writeToChain(password: String, policies: Policies = .auto, sendRaw: Bool = true) async throws -> TransactionSendingResult {
2424
try await policyResolver.resolveAll(for: &transaction, with: policies)
2525

2626
guard sendRaw else {

0 commit comments

Comments
 (0)