getting error:
txn.sign(sourceKeys);
return undefined.
full logs:
Something went wrong! { [BadResponseError: Transaction submission failed. Server responded: 400 Bad Request]
name: 'BadResponseError',
message: 'Transaction submission failed. Server responded: 400 Bad Request',
data:
{ type: 'https://stellar.org/horizon-errors/transaction_failed',
title: 'Transaction Failed',
status: 400,
detail: 'The transaction failed when submitted to the stellar network. The
extras.result_codesfield on this response contains further details. Descriptions of each code can be found at: https://www.stellar.org/developers/learn/concepts/list-of-operations.html',
extras:
{ envelope_xdr: 'AAAAAAddjXCk31Sls13W6FA9O55705UkKWBV3snLfHR5zYuLAAAAZAAAAAAAAAABAAAAAAAAAAEAAAAQVGVzdCBUcmFuc2FjdGlvbgAAAAEAAAABAAAAAAddjXCk31Sls13W6FA9O55705UkKWBV3snLfHR5zYuLAAAAAAAAAAAZ/fuhypNHFtstyD79BIWNcWG4TdSIrajl/W8U0GIE9QAAAAJUC+QAAAAAAAAAAAF5zYuLAAAAQC34xSbG919Gk3ODPDZE5WgqXcduYulTLI8mK2yKCMNDhuvloXEjrTKTZ46Y7xdaAkMH+suTUL4LGVN+QUs0IwM=',
result_codes: [Object],
result_xdr: 'AAAAAAAAAGT////6AAAAAA==' } } }