diff --git a/CoreBitcoin/BTCBlockchainInfo.m b/CoreBitcoin/BTCBlockchainInfo.m index bb7c7fc4..e4ea652c 100644 --- a/CoreBitcoin/BTCBlockchainInfo.m +++ b/CoreBitcoin/BTCBlockchainInfo.m @@ -9,7 +9,7 @@ @implementation BTCBlockchainInfo - (NSMutableURLRequest*) requestForUnspentOutputsWithAddresses:(NSArray*)addresses { if (addresses.count == 0) return nil; - NSString* urlstring = [NSString stringWithFormat:@"https://blockchain.info/unspent?active=%@", [[addresses valueForKey:@"base58String"] componentsJoinedByString:@"%7C"]]; + NSString* urlstring = [NSString stringWithFormat:@"https://blockchain.info/unspent?active=%@", [[addresses valueForKey:@"string"] componentsJoinedByString:@"%7C"]]; NSMutableURLRequest* request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:urlstring]]; request.HTTPMethod = @"GET"; return request;