Skip to content

Commit 7641e02

Browse files
committed
Make all examples executable
1 parent a96f653 commit 7641e02

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

examples/send-addrs-msg.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import socket, time, bitcoin
24
from bitcoin.messages import msg_version, msg_verack, msg_addr
35
from bitcoin.net import CAddress

examples/sign-message.py

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
#
13
# Copyright (C) 2013-2015 The python-bitcoinlib developers
24
#
35
# This file is part of python-bitcoinlib.

examples/ssl-rpc-connection.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@
3434
import bitcoin.rpc
3535

3636
proxy_connection = bitcoin.rpc.Proxy()
37-
print(proxy_connection.getnewaddress())
37+
print(proxy_connection.getnewaddress())

0 commit comments

Comments
 (0)