fix(react-dapp-v2): fixes accessing of result.signature on cosmos RPC

This commit is contained in:
Ben Kremer 2022-03-01 13:56:47 +00:00
parent 072d4593ca
commit d91d05d559

View File

@ -414,7 +414,7 @@ export function JsonRpcContextProvider({ children }: { children: ReactNode | Rea
method: "cosmos_signDirect",
address,
valid,
result: result.signature.signature,
result: result.signature,
};
}),
testSignAmino: _createJsonRpcRequestHandler(async (chainId: string, address: string) => {
@ -458,7 +458,7 @@ export function JsonRpcContextProvider({ children }: { children: ReactNode | Rea
method: "cosmos_signAmino",
address,
valid,
result: result.signature.signature,
result: result.signature,
};
}),
};