include backend_rpcs when fixing eth_sendRawTransaction arrays
This commit is contained in:
parent
3aef84d32b
commit
3fd046c89f
@ -1177,9 +1177,16 @@ impl App {
|
|||||||
// no idea how we got an array here, but lets force this to just the txid
|
// no idea how we got an array here, but lets force this to just the txid
|
||||||
// TODO: think about this more
|
// TODO: think about this more
|
||||||
if value.get().starts_with('[') {
|
if value.get().starts_with('[') {
|
||||||
|
let backend_rpcs = web3_request
|
||||||
|
.backend_rpcs_used()
|
||||||
|
.iter()
|
||||||
|
.map(|x| x.name.as_str())
|
||||||
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
error!(
|
error!(
|
||||||
?value,
|
?value,
|
||||||
?txid,
|
?txid,
|
||||||
|
?backend_rpcs,
|
||||||
"unexpected array response from sendRawTransaction"
|
"unexpected array response from sendRawTransaction"
|
||||||
);
|
);
|
||||||
response = ForwardedResponse::from(json!(txid));
|
response = ForwardedResponse::from(json!(txid));
|
||||||
|
Loading…
Reference in New Issue
Block a user