This diff addresses the edge case in token creation txs where the tx fee is less than the minimum due to the calcFee() call in generateTokenTxInput not passing the opReturn byte count. It arises if you lower the defaultFee in Ticker.js down to 1.11 (D13904).
The token genesis OP_RETURN script doesn't get generated until generateTokenTxOutput however the tx fee is calculated earlier in generateTokenTxInput.
Therefore setting the token genesis OP_RETURN byte count as a constant based on a genesis tx using max length in all fields.
e.g. 68 char token name, 12 char token ticker, 9 decimals, 10b supply, 68 char doc url, 5mb token icon, will generate the following 360 char hex / 180 byte OP_RETURN script:
6a04534c500001010747454e455349530c646464646464646464646464436d6178746f6b656e6e616d65656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565654368747470733a2f2f7777772e6c6f6e6775726c2e636f6d2f617364666173646661736466646464646464646464646464646464646464646464646464646464646464644c0001094c00088ac7230489e80000