test: Fix flaky wallet_basic test
test: Fix flaky wallet_basic test

Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>

Former-commit-id: 03334cc93a14c31db626dcfd0e45e86e8e06a202
syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin