Rename json field to "token_owner".

This commit is contained in:
chriseth 2022-10-07 23:22:03 +02:00
parent 77fb5c9d28
commit a0ff1a1e96

View file

@ -118,7 +118,7 @@ fn compute_transfer(
transfers: transfers.into_iter().map(|e| json::object! { transfers: transfers.into_iter().map(|e| json::object! {
from: e.from.to_string(), from: e.from.to_string(),
to: e.to.to_string(), to: e.to.to_string(),
token: e.token.to_string(), token_owner: e.token.to_string(),
value: e.capacity.to_string() value: e.capacity.to_string()
}).collect::<Vec<_>>(), }).collect::<Vec<_>>(),
}, },