Inconsistant description of TransferError::TooOld error
Maximkaaa opened this issue · comments
The spec text says:
The created_at_time parameter indicates the time (as nanoseconds since the UNIX epoch in the UTC timezone) at which the client constructed the transaction. The ledger MAY reject transactions that have created_at_time argument too far in the past or the future, returning variant { TooOld = record { allowed_window_nanos = ... } } and variant { CreatedInFuture } errors correspondingly.
Note the variant { TooOld = record { allowed_window_nanos = ... } }
part. The error type description does not have any fields for this error variant:
type TransferError = variant {
...
TooOld;
}
Same goes for did file.
Which variant is the correct one?