Skip to main content

rehash

Function rehash 

Source
fn rehash<T>(signed: Signed<T>, hash: B256) -> Signed<T>
where T: RlpEcdsaEncodableTx,
Expand description

Replaces the cached hash of a [Signed] transaction, preserving the inner tx and signature.