ex 3
This commit is contained in:
@@ -3,7 +3,7 @@ from Transaction import *
|
||||
from Signature import *
|
||||
|
||||
M_SERVER_IP = 'localhost'
|
||||
M_SERVER_PORT = 5005
|
||||
M_SERVER_PORT = 5050
|
||||
|
||||
W_SERVER_IP = 'localhost'
|
||||
W_SERVER_PORT = 5006
|
||||
@@ -31,7 +31,7 @@ print(Tx1.is_valid())
|
||||
print(Tx2.is_valid())
|
||||
|
||||
try:
|
||||
sendObj(M_SERVER_IP, Tx1, M_SERVER_PORT)
|
||||
# sendObj(M_SERVER_IP, Tx1, M_SERVER_PORT)
|
||||
print("Sent Tx1")
|
||||
sendObj(M_SERVER_IP, Tx2, M_SERVER_PORT)
|
||||
print("Sent Tx2")
|
||||
|
Reference in New Issue
Block a user