Add proper label to method decoding inputs (#4136)
This commit is contained in:
committed by
Gav Wood
parent
a4b93b4b88
commit
8d3d76c107
@@ -164,8 +164,8 @@ export default class MethodDecodingStore {
|
||||
methodInputs = this.api.util
|
||||
.decodeMethodInput(abi, paramdata)
|
||||
.map((value, index) => {
|
||||
const type = abi.inputs[index].type;
|
||||
return { type, value };
|
||||
const { name, type } = abi.inputs[index];
|
||||
return { name, type, value };
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user