Skip to content

Commit 6247628

Browse files
chore: default value of sendRaw for writeToChain is true
1 parent 5e1dd2c commit 6247628

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
@@ -19,7 +19,7 @@ public class WriteOperation: ReadOperation {
1919
/// nonce are resolved. Default value is ``Policies/auto``.
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.
22-
/// Default value is `false`.
22+
/// Default value is `true`.
2323
public func writeToChain(password: String, policies: Policies = .auto, sendRaw: Bool = true) async throws -> TransactionSendingResult {
2424
try await policyResolver.resolveAll(for: &transaction, with: policies)
2525

0 commit comments

Comments
 (0)