This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -391,13 +391,13 @@ func (x *Init) Execute(args []string) error {
391391}
392392
393393func (x * Start ) Execute (args []string ) error {
394+ printSplashScreen ()
395+
394396 err := core .CheckAndSetUlimit ()
395397 if err != nil {
396398 return err
397399 }
398400
399- printSplashScreen ()
400-
401401 if x .Testnet && x .Regtest {
402402 return errors .New ("Invalid combination of testnet and regtest modes" )
403403 }
Original file line number Diff line number Diff line change @@ -20,6 +20,12 @@ def run_test(self):
2020 alice = self .nodes [0 ]
2121 bob = self .nodes [1 ]
2222
23+ # post profile for alice
24+ with open ('testdata/profile.json' ) as profile_file :
25+ profile_json = json .load (profile_file , object_pairs_hook = OrderedDict )
26+ api_url = alice ["gateway_url" ] + "ob/profile"
27+ requests .post (api_url , data = json .dumps (profile_json , indent = 4 ))
28+
2329 # configure SMTP notifications
2430 time .sleep (4 )
2531 api_url = alice ["gateway_url" ] + "ob/settings"
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ var TestnetBootstrapAddresses = []string{
2222var DataPushNodes = []string {
2323 "QmY8puEnVx66uEet64gAf4VZRo7oUyMCwG6KdB9KM92EGQ" ,
2424 "QmPPg2qeF3n2KvTRXRZLaTwHCw8JxzF4uZK93RfMoDvf2o" ,
25+ "QmPPegaeM4rXfQDF3uu784d93pLEzV8A4zXU7akEgYnTFd" ,
2526}
2627
2728type APIConfig struct {
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ func (migration002) Up(repoPath string) error {
2727 pushNodes := []string {
2828 "QmY8puEnVx66uEet64gAf4VZRo7oUyMCwG6KdB9KM92EGQ" ,
2929 "QmPPg2qeF3n2KvTRXRZLaTwHCw8JxzF4uZK93RfMoDvf2o" ,
30+ "QmPPegaeM4rXfQDF3uu784d93pLEzV8A4zXU7akEgYnTFd" ,
3031 }
3132 cfg ["DataSharing" ] = map [string ]interface {}{
3233 "AcceptStoreRequests" : false ,
You can’t perform that action at this time.
0 commit comments