When trying to get the address of an output, if I call the method 
getScriptPubKey() I always get a null pointer exception. 
I checked this 
<https://groups.google.com/forum/#!msg/bitcoinj/27k8xsf29Dw/WRA6csmm-vEJ> and 
this 
<https://bitcoin.stackexchange.com/questions/2370/how-to-get-destination-address-from-bitcoinj-transactionoutput>,
 
but seems unsolved and the link to the github repository on StackExchange 
is not working.
I tried checking if the transaction is coinbase first, but still the same 
error.

Any ideas on how to solve this? 

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to