Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
tx: put UNSIGNED_SENDER behind 'test-helpers' feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Dec 13, 2019
1 parent 62adaa8 commit 1dde478
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ethcore/types/src/transaction/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ use transaction::error;
type Bytes = Vec<u8>;
type BlockNumber = u64;

/// Fake address for unsigned transactions as defined by EIP-86.
/// Fake address for unsigned transactions as defined by Legacy EIP-86.
#[cfg(any(test, feature = "test-helpers"))]
pub const UNSIGNED_SENDER: Address = H160([0xff; 20]);

/// System sender address for internal state updates.
Expand Down

0 comments on commit 1dde478

Please sign in to comment.