E(userSeat).getPayout('NoSuchKeyword')
result violates documented types
#8610
Labels
E(userSeat).getPayout('NoSuchKeyword')
result violates documented types
#8610
Originally posted by @gibson042 in #8597 (comment)
P.S.
getPayout(keyword)
is typed to return a promise for a Payment, but the implementation can return a promise forundefined
in cases where the argument is not a contract-defined keyword or isn't even a keyword at all (e.g.,await E(seat).getPayout('notAKeyword')
).#8597 (comment)
The text was updated successfully, but these errors were encountered: