Skip to content

[fix] ensure addresses are correct network

akrokr requested to merge akh/addr_net into develop

Addresses specified in messages should be of the same network as thornode (e.g. mainnet, testnet). We currently check the network for swap destinations but do not check for add_liquidity or manage_thorname. This allows unusable lp and thorname records to be stored in the keeper.

This patch adds checks to the validation functions for these two cases.

Merge request reports