mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "graphql: add yParity field for transactions (#27882)"
This reverts commit 0926b1e6f4.
This commit is contained in:
parent
c3a09ca182
commit
4ef5c21090
2 changed files with 0 additions and 11 deletions
|
|
@ -566,16 +566,6 @@ func (t *Transaction) V(ctx context.Context) hexutil.Big {
|
|||
return hexutil.Big(*v)
|
||||
}
|
||||
|
||||
func (t *Transaction) YParity(ctx context.Context) (*hexutil.Uint64, error) {
|
||||
tx, _ := t.resolve(ctx)
|
||||
if tx == nil || tx.Type() == types.LegacyTxType {
|
||||
return nil, nil
|
||||
}
|
||||
v, _, _ := tx.RawSignatureValues()
|
||||
ret := hexutil.Uint64(v.Int64())
|
||||
return &ret, nil
|
||||
}
|
||||
|
||||
func (t *Transaction) Raw(ctx context.Context) (hexutil.Bytes, error) {
|
||||
tx, _ := t.resolve(ctx)
|
||||
if tx == nil {
|
||||
|
|
|
|||
|
|
@ -151,7 +151,6 @@ const schema string = `
|
|||
r: BigInt!
|
||||
s: BigInt!
|
||||
v: BigInt!
|
||||
yParity: Long
|
||||
# Envelope transaction support
|
||||
type: Long
|
||||
accessList: [AccessTuple!]
|
||||
|
|
|
|||
Loading…
Reference in a new issue