Skip to content

Commit af30c0d

Browse files
committed
getBlockReceipts maybe null
Signed-off-by: jsvisa <delweng@gmail.com>
1 parent 1c29e6c commit af30c0d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/eth/block.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@
9595
$ref: '#/components/schemas/BlockNumberOrTagOrHash'
9696
result:
9797
name: Receipts information
98-
type: array
99-
items:
100-
$ref: '#/components/schemas/ReceiptInfo'
98+
schema:
99+
oneOf:
100+
- $ref: '#/components/schemas/notFound'
101+
- title: Receipts information
102+
type: array
103+
items:
104+
$ref: '#/components/schemas/ReceiptInfo'

0 commit comments

Comments
 (0)