fix: undefined is a valid result for getBlockTime
This commit is contained in:
parent
de22f3d0e7
commit
2011ed3344
|
@ -575,7 +575,7 @@ const GetBlockTimeRpcResult = struct({
|
||||||
jsonrpc: struct.literal('2.0'),
|
jsonrpc: struct.literal('2.0'),
|
||||||
id: 'string',
|
id: 'string',
|
||||||
error: 'any?',
|
error: 'any?',
|
||||||
result: struct.union(['null', 'number']),
|
result: struct.union(['null', 'number', 'undefined']),
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue