added VRS hard-coded values (#4949)

This commit is contained in:
Enrique Jose Avila Asapche 2022-08-06 19:05:51 +03:00 committed by GitHub
parent a481b77489
commit a02c71c006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -459,6 +459,9 @@ func newRPCBorTransaction(opaqueTx types.Transaction, txHash common.Hash, blockH
From: common.Address{}, From: common.Address{},
To: tx.GetTo(), To: tx.GetTo(),
Value: (*hexutil.Big)(tx.GetValue().ToBig()), Value: (*hexutil.Big)(tx.GetValue().ToBig()),
V: (*hexutil.Big)(big.NewInt(0)),
R: (*hexutil.Big)(big.NewInt(0)),
S: (*hexutil.Big)(big.NewInt(0)),
} }
if blockHash != (common.Hash{}) { if blockHash != (common.Hash{}) {
result.BlockHash = &blockHash result.BlockHash = &blockHash