Build failing after commit relating to solving testnet halt

This issue is related to the recent commit db73ab98 which was made to solve issue #185 (closed) testnet halt.

This commit made changes to fix a problem with creating primary wallet transaction, but is causing builds to fail at the following step image