Commit 7ea860d 1 parent 470dba8 commit 7ea860d Copy full SHA for 7ea860d
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -615,13 +615,13 @@ func (t *Transaction) V(ctx context.Context) hexutil.Big {
615
615
return hexutil .Big (* v )
616
616
}
617
617
618
- func (t * Transaction ) YParity (ctx context.Context ) (* hexutil.Uint64 , error ) {
618
+ func (t * Transaction ) YParity (ctx context.Context ) (* hexutil.Big , error ) {
619
619
tx , _ := t .resolve (ctx )
620
620
if tx == nil || tx .Type () == types .LegacyTxType {
621
621
return nil , nil
622
622
}
623
623
v , _ , _ := tx .RawSignatureValues ()
624
- ret := hexutil .Uint64 ( v . Int64 () )
624
+ ret := hexutil .Big ( * v )
625
625
return & ret , nil
626
626
}
627
627
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ const schema string = `
157
157
r: BigInt!
158
158
s: BigInt!
159
159
v: BigInt!
160
- yParity: Long
160
+ yParity: BigInt
161
161
# Envelope transaction support
162
162
type: Long
163
163
accessList: [AccessTuple!]
You can’t perform that action at this time.
0 commit comments