mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
commit
8482855bc7
@ -2519,6 +2519,14 @@ func TestSigArgs(t *testing.T) {
|
|||||||
if err := json.Unmarshal([]byte(input), &args); err != nil {
|
if err := json.Unmarshal([]byte(input), &args); err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if expected.From != args.From {
|
||||||
|
t.Errorf("From should be %v but is %v", expected.From, args.From)
|
||||||
|
}
|
||||||
|
|
||||||
|
if expected.Data != args.Data {
|
||||||
|
t.Errorf("Data should be %v but is %v", expected.Data, args.Data)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestSigArgsEmptyData(t *testing.T) {
|
func TestSigArgsEmptyData(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user