Changeset View
Changeset View
Standalone View
Standalone View
cashtab/src/components/Alias/fixtures/mocks.js
// Copyright (c) 2024 The Bitcoin developers | // Copyright (c) 2024 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
import { walletWithXecAndTokens } from 'components/fixtures/mocks'; | import { walletWithXecAndTokens } from 'components/fixtures/mocks'; | ||||
const defaultAddress = walletWithXecAndTokens.paths.find( | const defaultAddress = walletWithXecAndTokens.paths.get(1899).address; | ||||
pathInfo => pathInfo.path === 1899, | |||||
).address; | |||||
export const aliasAddressTwoRegisteredOnePending = { | export const aliasAddressTwoRegisteredOnePending = { | ||||
registered: [ | registered: [ | ||||
{ | { | ||||
alias: 'chicken555', | alias: 'chicken555', | ||||
address: defaultAddress, | address: defaultAddress, | ||||
txid: 'ec92610fc41df2387e7febbb358b138a802ac26023f30b2442aa01ca733fff7d', | txid: 'ec92610fc41df2387e7febbb358b138a802ac26023f30b2442aa01ca733fff7d', | ||||
blockheight: 792417, | blockheight: 792417, | ||||
}, | }, | ||||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |