Skip to content

Commit 82d9b1a

Browse files
chore: swift doc update for the totalDifficulty field;
1 parent 546a307 commit 82d9b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Web3Core/Structure/Block/Block.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public struct Block {
2525
public var miner: EthereumAddress? // MARK: This is NOT optional in web3js
2626
public var difficulty: BigUInt
2727
/// by JoshKim: Removed from Ethereum official Blockschema making it optional (https://github.com/ethereum/execution-apis/commit/9e16d5e76a554c733613a2db631130166e2d8725)
28-
/// If decoding of this field has failed it will be set to 0 to avoid breaking changes. Will be made optional in v4 of web3swift.
28+
/// Set to 0 if not provided. Will be made optional in v4 of web3swift.
2929
public var totalDifficulty: BigUInt
3030
public var extraData: Data
3131
public var size: BigUInt

0 commit comments

Comments
 (0)