fix(react-dapp-v2): fixes accessing of result.signature
on cosmos RPC
This commit is contained in:
parent
072d4593ca
commit
d91d05d559
@ -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,
|
||||
};
|
||||
}),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user