add TODO to remove buildVersion in the future

This commit is contained in:
Phu Pham
2023-06-05 11:28:18 -04:00
parent 1d9f9ae7c5
commit cabe79d4c0

View File

@@ -101,6 +101,7 @@ function txNeedsNetworkID(client: Client): boolean {
client.networkID > RESTRICTED_NETWORKS
) {
// transaction needs networkID if either the network is hooks testnet or build version is >= 1.11.0
// TODO: remove the buildVersion logic when 1.11.0 is out and widely used.
if (
(client.buildVersion &&
isEarlierRippledVersion(