getNextAddress method
moves the position forward and returns an address from the new position
Implementation
String getNextAddress([legacyFormat = true]) {
if (legacyFormat) {
return accountNode.derive(++currentChild).toLegacyAddress();
} else {
return accountNode.derive(++currentChild).toCashAddress();
}
}