Skip to content

Commit

Permalink
feat(AENS): Add ability to use contract (#671)
Browse files Browse the repository at this point in the history
* feat(AENS): Add ability to use contract

* feat(AENS): Add ability to use state-channel
  • Loading branch information
nduchak authored Sep 18, 2019
1 parent abd7c56 commit 49fd0fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion es/ae/aens.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ async function revoke (nameId, options = {}) {
function classify (s) {
const keys = {
ak: 'account_pubkey',
ok: 'oracle_pubkey'
ok: 'oracle_pubkey',
ct: 'contract_pubkey',
ch: 'channel'
}

if (!s.match(/^[a-z]{2}_.+/)) {
Expand Down

0 comments on commit 49fd0fd

Please sign in to comment.