mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Improve remote.js and test starts.
- Transactions now emit 'pending' and 'lost' - Remote now supports once(). - Tests now use 'ledger_closed' to know when to start. - Fix quick close of remote.
This commit is contained in:
@@ -24,7 +24,7 @@ buster.testCase("Remote functions", {
|
||||
alpha = remote.remoteConfig(config, "alpha");
|
||||
|
||||
alpha
|
||||
.on('connected', done)
|
||||
.once('ledger_closed', done)
|
||||
.connect();
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user