Fix RLP encoding of gas price (#408)
This commit is contained in:
parent
38175c4b1a
commit
72c77dd0cb
|
@ -143,7 +143,7 @@ impl Transaction {
|
|||
let mut rlp = RlpStream::new();
|
||||
rlp.begin_list(NUM_TX_FIELDS);
|
||||
rlp.append(&self.nonce);
|
||||
rlp.append(&self.gas_price);
|
||||
rlp_opt(&mut rlp, &self.gas_price);
|
||||
rlp.append(&self.gas);
|
||||
|
||||
#[cfg(feature = "celo")]
|
||||
|
|
Loading…
Reference in New Issue