fix: Update signature status result type
This commit is contained in:
committed by
Michael Vines
parent
f2b38bcc56
commit
7f72bbeba3
@@ -124,13 +124,13 @@ const ConfirmTransactionRpcResult = jsonRpcResult('boolean');
|
||||
* Expected JSON RPC response for the "getSignatureStatus" message
|
||||
*/
|
||||
const GetSignatureStatusRpcResult = jsonRpcResult(
|
||||
struct.enum([
|
||||
'AccountInUse',
|
||||
'Confirmed',
|
||||
'GenericFailure',
|
||||
'ProgramRuntimeError',
|
||||
'SignatureNotFound',
|
||||
]),
|
||||
struct.union([
|
||||
'null',
|
||||
struct.union([
|
||||
struct({Ok: 'null'}),
|
||||
struct({Err: 'string'})
|
||||
])
|
||||
])
|
||||
);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user