Showing 1 of 3 files from the diff.

@@ -3400,6 +3400,19 @@
Loading
3400 3400
    if (ancestors.size + 1 > this.maxAncestors)
3401 3401
      throw new Error('TX exceeds maximum unconfirmed ancestors.');
3402 3402
3403 +
    for (const output of tx.outputs) {
3404 +
      if (output.isDust())
3405 +
        throw new Error('Output is dust.');
3406 +
3407 +
      if (output.value > 0) {
3408 +
        if (!output.address)
3409 +
          throw new Error('Cannot send to unknown address.');
3410 +
3411 +
        if (output.address.isNull())
3412 +
          throw new Error('Cannot send to null address.');
3413 +
      }
3414 +
    }
3415 +
3403 3416
    await this.wdb.addTX(tx);
3404 3417
3405 3418
    this.logger.debug('Sending wallet tx (%s): %x', this.id, tx.hash());
Files Coverage
lib 62.53%
Project Totals (129 files) 62.53%
Notifications are pending CI completion. Periodically Codecov will check the CI state, when complete notifications will be submitted. Push notifications now.

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading