mirror of
https://github.com/alexgo-io/stacks.js.git
synced 2026-01-12 17:52:41 +08:00
fix: update subdomainOpToZFPieces
This commit is contained in:
@@ -811,7 +811,6 @@ function destructZonefile(zonefile: string) {
|
||||
export function subdomainOpToZFPieces(operation: SubdomainOp) {
|
||||
const destructedZonefile = destructZonefile(operation.zonefile);
|
||||
const txt = [
|
||||
operation.subdomainName,
|
||||
`owner=${operation.owner}`,
|
||||
`seqn=${operation.sequenceNumber}`,
|
||||
`parts=${destructedZonefile.length}`,
|
||||
|
||||
@@ -279,7 +279,7 @@ describe('Subdomain Migration', () => {
|
||||
'sound idle panel often situate develop unit text design antenna vendor screen opinion balcony share trigger accuse scatter visa uniform brass update opinion media',
|
||||
'test2.id.stx', // Subdomain to be migrated
|
||||
'ST3Q2T3380WE1K5PW72R6R76Q8HRPEK8HR02W6V1M', // Owner mismatch
|
||||
'No subdomains selected. Canceling...', // expected output, not migrated due to owner mismatch
|
||||
'No subdomains found or selected. Canceling...', // expected output, not migrated due to owner mismatch
|
||||
false,
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user