Dang, you’re right! Thanks for clearing that up. So is the best way really to do something like:
for tag in event[1]['tags']:
if tag[0] == 'p':
pubkey_ref = tag[1]
if tag[0] == 'e':
target_eventID = tag[1]
Dang, you’re right! Thanks for clearing that up. So is the best way really to do something like:
for tag in event[1]['tags']:
if tag[0] == 'p':
pubkey_ref = tag[1]
if tag[0] == 'e':
target_eventID = tag[1]
yes, sort of.