2
calling getaccountaddress method on an address associated with the default account return "" the name of the default account. The problem is calling getaccountaddress on foreign address that doesn't exist in the local wallet will return "" !
Shouldn't this method in the last case return an error or something ?
i think the solution here is to call validateaddress method to check this address ismine or not.
1Perhaps you should file a bug report. – Nate Eldredge – 2014-09-14T01:39:23.453