Skip to content

Commit 78fef29

Browse files
committed
Change publish-text.py txouts to be a bare OP_RETURN
1 parent f02827a commit 78fef29

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

examples/publish-text.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,7 @@ def make_scripts(lines, n):
181181
logging.info('Total cost: %s BTC' % str_money_value(sum(amount for addr, amount in payments.items())))
182182

183183
# Create unsigned tx for SignatureHash
184-
185-
# By paying this rather than an OP_RETURN the tx shows up on bc.i, convenient
186-
# for determining propagation; inception for the lulz.
187-
#
188-
# FIXME: these 600 satoshi's aren't taken into account above...
189-
vout = [CTxOut(600, CScript().to_p2sh_scriptPubKey().to_p2sh_scriptPubKey())]
190-
#vout = [CTxOut(0, CScript([OP_RETURN]))]
184+
vout = [CTxOut(0, CScript([OP_RETURN]))]
191185

192186
unsigned_vin = []
193187
for scriptSig, redeemScript in scripts:

0 commit comments

Comments
 (0)