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

Commit

Permalink
tx: add comment for null_sign
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Dec 13, 2019
1 parent 1023c8e commit 35d2b26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ethcore/types/src/transaction/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ impl Transaction {
}

/// Legacy EIP-86 compatible empty signature.
/// This method is used in json tests as well as
/// signature verification tests.
#[cfg(any(test, feature = "test-helpers"))]
pub fn null_sign(self, chain_id: u64) -> SignedTransaction {
SignedTransaction {
Expand Down

0 comments on commit 35d2b26

Please sign in to comment.