fix(with-solana): render result.signature
for result in modal
This commit is contained in:
parent
6f4a52a8d9
commit
42623d493a
@ -113,7 +113,7 @@ export default function App() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const signature = await client.request({
|
const result = await client.request({
|
||||||
topic: session.topic,
|
topic: session.topic,
|
||||||
request: {
|
request: {
|
||||||
method: SolanaRpcMethod.SOL_SIGN_TRANSACTION,
|
method: SolanaRpcMethod.SOL_SIGN_TRANSACTION,
|
||||||
@ -139,7 +139,7 @@ export default function App() {
|
|||||||
method: SolanaRpcMethod.SOL_SIGN_TRANSACTION,
|
method: SolanaRpcMethod.SOL_SIGN_TRANSACTION,
|
||||||
address,
|
address,
|
||||||
valid: true,
|
valid: true,
|
||||||
result: signature,
|
result: result.signature,
|
||||||
};
|
};
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
throw new Error(error);
|
throw new Error(error);
|
||||||
|
Loading…
Reference in New Issue
Block a user